|
|
@ -58,7 +58,9 @@
|
|
|
|
and date_format(r.create_time,'%y%m%d') <= date_format(#{role.params.endTime},'%y%m%d')
|
|
|
|
and date_format(r.create_time,'%y%m%d') <= date_format(#{role.params.endTime},'%y%m%d')
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
<!-- 数据范围过滤 -->
|
|
|
|
<!-- 数据范围过滤 -->
|
|
|
|
${role.params.dataScope}
|
|
|
|
<if test="role.params.dataScope != null and role.params.dataScope != ''">
|
|
|
|
|
|
|
|
AND ( ${role.params.dataScope} )
|
|
|
|
|
|
|
|
</if>
|
|
|
|
order by r.role_sort
|
|
|
|
order by r.role_sort
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
|
@ -81,7 +83,9 @@
|
|
|
|
and date_format(r.create_time,'%y%m%d') <= date_format(#{params.endTime},'%y%m%d')
|
|
|
|
and date_format(r.create_time,'%y%m%d') <= date_format(#{params.endTime},'%y%m%d')
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
<!-- 数据范围过滤 -->
|
|
|
|
<!-- 数据范围过滤 -->
|
|
|
|
AND ( ${params.dataScope} )
|
|
|
|
<if test="params.dataScope != null and params.dataScope != ''">
|
|
|
|
|
|
|
|
AND ( ${params.dataScope} )
|
|
|
|
|
|
|
|
</if>
|
|
|
|
order by r.role_sort
|
|
|
|
order by r.role_sort
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
|
|