ruoyi-system/src/main/resources/mapper/system/SysDeptMapper.xml
@@ -139,7 +139,13 @@ d.status from sys_dept d where del_flag = 0 and d.dept_code = #{deptCode} and d.dept_code = #{deptCode} <if test="orgid != null and orgid != ''"> and d.orgid = #{orgid} </if> <if test="campusid != null and campusid != ''"> and d.campusid = #{campusid} </if> </select> <select id="checkDeptExistUser" parameterType="Long" resultType="int">