From 1d5cc4be0aa420166be9d0d180c8d9d41c8fc566 Mon Sep 17 00:00:00 2001
From: KKSU <15274802129@163.com>
Date: Tue, 16 Apr 2024 16:38:43 +0800
Subject: [PATCH] 滑点页面查询
---
src/main/resources/mapper/dapp/DappHdRecordMapper.xml | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/src/main/resources/mapper/dapp/DappHdRecordMapper.xml b/src/main/resources/mapper/dapp/DappHdRecordMapper.xml
index dd1d7e7..1f86353 100644
--- a/src/main/resources/mapper/dapp/DappHdRecordMapper.xml
+++ b/src/main/resources/mapper/dapp/DappHdRecordMapper.xml
@@ -21,6 +21,17 @@
*
FROM
dapp_hd_record
+
+ <where>
+ <if test="record != null">
+ <if test="record.startTime != null and record.startTime != ''">
+ and create_time >= #{record.startTime}
+ </if>
+ <if test="record.endTime != null and record.endTime != ''">
+ and create_time <= #{record.endTime}
+ </if>
+ </if>
+ </where>
order by CREATE_TIME desc
</select>
--
Gitblit v1.9.1