This commit is contained in:
lsymicc
2026-05-19 17:21:50 +08:00
parent 4436476ea3
commit 50d2a924fc
2 changed files with 4 additions and 2 deletions

View File

@@ -29,6 +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)
<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>