src/main/resources/mapper/system/SysUserDeptMapper.xml @@ -24,4 +24,7 @@ </if> </where> </select> <select id="selectUserIdByDeptId" resultType="java.lang.Long"> SELECT user_id FROM sys_user_dept WHERE dept_id = #{deptId} </select> </mapper>