xiangpei
2025-02-24 e9719f559ccaa5ab0689df9331f4d016c0b8c9e6
system/src/main/resources/mapper/system/SysDeptMapper.xml
@@ -94,7 +94,7 @@
      where dept_name=#{deptName} and parent_id = #{parentId} and del_flag = '0' limit 1
   </select>
    <select id="selectAncestors" resultType="java.lang.String">
      select ancestors
      select SD.ancestors
      from sys_user SU
      INNER JOIN sys_dept SD ON SU.dept_id = SD.dept_id
      where SU.user_id = #{userId}