陈昶聿
2026-04-28 6bb028f4062241bc3c3bb29ca252a264fc9dd6b7
ruoyi-system/src/main/resources/mapper/system/SysDeptMapper.xml
@@ -144,6 +144,9 @@
        <if test="orgid != null and orgid != ''">
            and d.orgid = #{orgid}
        </if>
        <if test="deptType != null and deptType != ''">
            and d.dept_type = #{deptType}
        </if>
        limit 1
    </select>