buildQueryWrapper修改
This commit is contained in:
@@ -108,7 +108,7 @@
|
||||
</if>
|
||||
<if test="deptId != null and deptId != 0">
|
||||
AND (u.dept_id = #{deptId} OR u.dept_id IN ( SELECT t.dept_id FROM sys_dept t WHERE cast(#{deptId} as
|
||||
varchar) = any(string_to_array(ancestors,‘,’)) ))
|
||||
varchar) = any(string_to_array(ancestors,',')) ))
|
||||
</if>
|
||||
<!-- 数据范围过滤 -->
|
||||
${params.dataScope}
|
||||
|
||||
Reference in New Issue
Block a user