|
|
|
@ -66,7 +66,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
</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 ${prefix}sys_user where dept_id = #{deptId} and del_flag = '0'
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
<select id="hasChildByDeptId" parameterType="Long" resultType="int">
|
|
|
|
|