This commit is contained in:
dzc committed 2025-10-23 21:17:54 +08:00
1 parent b41d85dc2a
commit f9cc37dc20
2 files changed
+3 -4

No files matched your search

@@ -77,13 +77,13 @@
<if test="dto.deptIds != null and dto.deptIds.size() != 0">
<choose>
<when test="dto.isInclude != null and dto.isInclude == true">
and o.dept_id IN
and o.user_dept_id IN
</when>
<when test="dto.isInclude != null and dto.isInclude == false">
and o.dept_id NOT IN
and o.user_dept_id NOT IN
</when>
<otherwise>
and o.dept_id IN
and o.user_dept_id IN
</otherwise>
</choose>
<foreach collection="dto.deptIds" item="v" open="(" close=")" separator=",">
@@ -475,7 +475,6 @@
</foreach>
</if>
<if test="dto.getUserDeptIds != null and dto.getUserDeptIds.size() != 0">
and o.user_dept_id in
<choose>
<when test="dto.isInclude != null and dto.isInclude == true">
and o.user_dept_id IN