陈昶聿
2026-04-28 0fbdfb6da5693caee65ce82ff32f12fb0e29b7c3
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>