优化
This commit is contained in:
@@ -29,8 +29,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
<select id="selectRequestLogList" parameterType="RequestLog" resultMap="RequestLogResult">
|
<select id="selectRequestLogList" parameterType="RequestLog" resultMap="RequestLogResult">
|
||||||
<include refid="selectRequestLogVo"/>
|
<include refid="selectRequestLogVo"/>
|
||||||
<where>
|
<where>
|
||||||
<!-- 强制限制:只查最近7天 -->
|
<!-- 只查最近14天 -->
|
||||||
and request_time >= DATE_SUB(CURDATE(), INTERVAL 14 DAY)
|
and request_time >= DATEADD(DAY, -14, CAST(GETDATE() AS DATE))
|
||||||
<if test="requestTime != null and requestTime != ''"> and request_time = #{requestTime}</if>
|
<if test="requestTime != null and requestTime != ''"> and request_time = #{requestTime}</if>
|
||||||
<if test="sourceSystem != null and sourceSystem != ''"> and source_system = #{sourceSystem}</if>
|
<if test="sourceSystem != null and sourceSystem != ''"> and source_system = #{sourceSystem}</if>
|
||||||
<if test="targetSystem != null and targetSystem != ''"> and target_system = #{targetSystem}</if>
|
<if test="targetSystem != null and targetSystem != ''"> and target_system = #{targetSystem}</if>
|
||||||
|
|||||||
@@ -86,6 +86,7 @@
|
|||||||
v-hasPermi="['device:api:export']"
|
v-hasPermi="['device:api:export']"
|
||||||
>导出</el-button>
|
>导出</el-button>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
<!-- <span style="font-size:10px;line-height: 0px;vertical-align: bottom; color: darkgray;" class="text">* 仅展示14天内的数据</span> -->
|
||||||
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
||||||
</el-row>
|
</el-row>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user