lyhzzz пре 2 година
родитељ
комит
9eec46c372
1 измењених фајлова са 3 додато и 0 уклоњено
  1. 3 0
      src/main/resources/mapper/manage/SceneProMapper.xml

+ 3 - 0
src/main/resources/mapper/manage/SceneProMapper.xml

@@ -70,6 +70,9 @@
         <if test="param.type !=null and param.type == 1">
             and s.scene_source = 3
         </if>
+        <if test="param.type !=null and param.type == 4">
+            and s.scene_source = 4 and is_obj = 1
+        </if>
         <if test="param.companyId !=null ">
             and co.id = #{param.companyId}
         </if>