疯狂的狮子Li
2024-02-01 7b4e8324a9ca61eec94fd4dc81f81834bc627cdd
ruoyi-modules/ruoyi-system/src/main/resources/mapper/system/SysDeptMapper.xml
@@ -8,7 +8,14 @@
    </resultMap>
    <select id="selectDeptList" resultMap="SysDeptResult">
        select ${ew.getSqlSelect} from sys_dept ${ew.getCustomSqlSegment}
        select
        <if test="ew.getSqlSelect != null">
            ${ew.getSqlSelect}
        </if>
        <if test="ew.getSqlSelect == null">
            *
        </if>
        from sys_dept ${ew.getCustomSqlSegment}
    </select>
    <select id="countDeptById" resultType="Long">