疯狂的狮子li
2021-12-28 4e04f5e967b14c6f2881d867438653f968027b47
ruoyi-system/src/main/resources/mapper/system/SysRoleMapper.xml
@@ -60,10 +60,6 @@
        <if test="role.params.endTime != null and role.params.endTime != ''"><!-- 结束时间检索 -->
            and date_format(r.create_time,'%y%m%d') &lt;= date_format(#{role.params.endTime},'%y%m%d')
        </if>
<!--        &lt;!&ndash; 数据范围过滤 &ndash;&gt;-->
<!--        <if test="role.params.dataScope != null and role.params.dataScope != ''">-->
<!--            AND ( ${role.params.dataScope} )-->
<!--        </if>-->
        order by r.role_sort
    </select>
@@ -88,10 +84,6 @@
        <if test="params.endTime != null and params.endTime != ''"><!-- 结束时间检索 -->
            and date_format(r.create_time,'%y%m%d') &lt;= date_format(#{params.endTime},'%y%m%d')
        </if>
<!--        &lt;!&ndash; 数据范围过滤 &ndash;&gt;-->
<!--        <if test="params.dataScope != null and params.dataScope != ''">-->
<!--            AND ( ${params.dataScope} )-->
<!--        </if>-->
        order by r.role_sort
    </select>