|
|
@@ -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>-->
|