This commit is contained in:
dzc committed 2025-10-22 19:31:15 +08:00
1 parent f167532bed
commit 92621b51a0
1 file changed
+6 -6
@@ -219,13 +219,13 @@
<if test="dto.deptIds != null and dto.deptIds.size() != 0">
<choose>
<when test="dto.isInclude != null and dto.isInclude == true">
and wallet.dept_id IN
and sub.dept_id IN
</when>
<when test="dto.isInclude != null and dto.isInclude == false">
and wallet.dept_id NOT IN
and sub.dept_id NOT IN
</when>
<otherwise>
and wallet.dept_id IN
and sub.dept_id IN
</otherwise>
</choose>
<foreach collection="dto.deptIds" item="v" open="(" close=")" separator=",">
@@ -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 m.dept_id IN
and a.dept_id IN
</when>
<when test="dto.isInclude != null and dto.isInclude == false">
and m.dept_id NOT IN
and a.dept_id NOT IN
</when>
<otherwise>
and m.dept_id IN
and a.dept_id IN
</otherwise>
</choose>
<foreach collection="dto.deptIds" item="v" open="(" close=")" separator=",">