Parcourir la source

修复文书档案

luojun il y a 1 an
Parent
commit
32acc0fe00

+ 6 - 0
soc-modules/soc-modules-core/src/main/resources/mapper/safetycheck/CoreSafetyTaskMapper.xml

@@ -867,6 +867,12 @@ SELECT t.id,
         <if test="task.status != null  and task.status != ''">
             and t.status =#{task.status}
         </if>
+        <if test="task.checkOrgIds!=null and task.checkOrgIds.size>0">
+            and t.org_id in
+            <foreach collection="task.checkOrgIds" close=")" open="(" separator="," item="id">
+                #{id}
+            </foreach>
+        </if>
         <!--        <if test="task.roleId != null  and task.roleId != ''">-->
         <!--            and t.role_id =#{task.roleId}-->
         <!--        </if>-->