project-system/src/main/resources/mapper/system/SysRoleMapper.xml
@@ -52,7 +52,7 @@ and date_format(r.create_time,'%y%m%d') <= date_format(#{params.endTime},'%y%m%d') </if> <!-- 数据范围过滤 --> <if test="params != null and params.dataScope != null"> <if test="params != null and params.dataScope != null and params.dataScope != ''"> AND ${params.dataScope} </if> order by r.role_sort