This commit is contained in:
dzc committed 2025-10-23 15:51:34 +08:00
1 parent 1a9c7d3655
commit 0843924e06
1 file changed
+3 -3
@@ -223,13 +223,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=",">