@ -26,7 +26,7 @@
from sys_dept dept
where
dept.DEL_FLAG = '0'
and FIND_IN_SET(#{deptId},dept.pids)
and (FIND_IN_SET(#{deptId},dept.pids) or dept.ID = #{deptId})
</select>
<select id="getIdAndPidList" resultType="com.elink.esua.epdc.entity.SysDeptEntity">