陈昶聿
8 小时以前 b8126479634bc700f8a3850f39d12375b8d7795f
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">