src/main/resources/mapper/UserDepartmentMapper.xml
@@ -81,4 +81,8 @@ </where> </select> <select id="selectDeptAdmin" resultType="java.lang.Integer"> SELECT user_id FROM t_user_department WHERE dept_admin = 1 AND department_id = #{depId} </select> </mapper>