huminmin
2025-12-15 c6e6ca1d8c04209de59db851ed34636aab179971
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">