gssong
2024-03-18 105dfd96c12f6f34509f43c870798c3460319773
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">