This commit is contained in:
dzc committed 2025-07-10 14:44:19 +08:00
1 parent ac591bd238
commit 0ec70a655a
1 file changed
+3 -3
@@ -252,13 +252,13 @@
<if test="dto.deptIds != null and dto.deptIds.size() != 0">
<choose>
<when test="dto.isInclude != null and dto.isInclude == true">
and a.dept_id IN
and m.dept_id IN
</when>
<when test="dto.isInclude != null and dto.isInclude == false">
and a.dept_id NOT IN
and m.dept_id NOT IN
</when>
<otherwise>
and a.dept_id IN
and m.dept_id IN
</otherwise>
</choose>
<foreach collection="dto.deptIds" item="v" open="(" close=")" separator=",">