zouyu
2025-08-13 9194cb195ff36e74b2c4f4445f27bd2616b26217
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">