|
@@ -160,7 +160,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<include refid="selectDeptVo"/>
|
|
|
where d.del_flag = '0'
|
|
|
<if test="deptId != null and deptId != 0">
|
|
|
- AND (dept_id = #{deptId} or ancestors like concat('%', #{deptId}, '%')
|
|
|
+ AND (dept_id = #{deptId} or ancestors like concat('%', #{deptId}, '%'))
|
|
|
</if>
|
|
|
<if test="parentId != null and parentId != 0">
|
|
|
AND parent_id = #{parentId}
|