buhuazhen
2025-10-28 47768d890fbfc1a5f3e93ca26137847361415e9e
src/main/resources/mapper/system/SysDeptMapper.xml
@@ -67,7 +67,7 @@
   </select>
    
    <select id="checkDeptExistUser" parameterType="Long" resultType="int">
      select count(1) from sys_user where dept_id = #{deptId} and del_flag = '0'
      select count(1) from sys_user_dept where dept_id = #{deptId}
   </select>
   
   <select id="hasChildByDeptId" parameterType="Long" resultType="int">