疯狂的狮子li
2021-05-29 06513446a0a4a993d17e7bb8085f7bf7dfb4597c
ruoyi-system/src/main/resources/mapper/system/SysRoleMapper.xml
@@ -58,9 +58,7 @@
            and date_format(r.create_time,'%y%m%d') <= date_format(#{role.params.endTime},'%y%m%d')
        </if>
        <!-- 数据范围过滤 -->
        <if test="role.params.dataScope != null and role.params.dataScope != ''">
            AND ( ${role.params.dataScope} )
        </if>
        ${role.params.dataScope}
        order by r.role_sort
    </select>
@@ -83,9 +81,7 @@
            and date_format(r.create_time,'%y%m%d') &lt;= date_format(#{params.endTime},'%y%m%d')
        </if>
        <!-- 数据范围过滤 -->
        <if test="params.dataScope != null and params.dataScope != ''">
            AND ( ${params.dataScope} )
        </if>
        ${params.dataScope}
        order by r.role_sort
    </select>