This commit is contained in:
lsymicc
2026-05-20 09:52:43 +08:00
parent 50d2a924fc
commit a2229cb346
2 changed files with 3 additions and 2 deletions

View File

@@ -29,8 +29,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<select id="selectRequestLogList" parameterType="RequestLog" resultMap="RequestLogResult">
<include refid="selectRequestLogVo"/>
<where>
<!-- 强制限制:只查最近7天 -->
and request_time >= DATE_SUB(CURDATE(), INTERVAL 14 DAY)
<!-- 只查最近14天 -->
and request_time >= DATEADD(DAY, -14, CAST(GETDATE() AS DATE))
<if test="requestTime != null and requestTime != ''"> and request_time = #{requestTime}</if>
<if test="sourceSystem != null and sourceSystem != ''"> and source_system = #{sourceSystem}</if>
<if test="targetSystem != null and targetSystem != ''"> and target_system = #{targetSystem}</if>

View File

@@ -86,6 +86,7 @@
v-hasPermi="['device:api:export']"
>导出</el-button>
</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>
</el-row>