yaowanxin
2025-09-15 9698968f0d8bae24083e7537bd61276d0b2d0233
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">