From f87b5cb6f7a2f34c983b6988be1fdc8a70e8a06f Mon Sep 17 00:00:00 2001
From: KKSU <15274802129@163.com>
Date: Mon, 20 May 2024 10:19:18 +0800
Subject: [PATCH] 滑点监控

---
 src/main/resources/mapper/dapp/DappHdRecordMapper.xml |   18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)

diff --git a/src/main/resources/mapper/dapp/DappHdRecordMapper.xml b/src/main/resources/mapper/dapp/DappHdRecordMapper.xml
index a63bccb..1f86353 100644
--- a/src/main/resources/mapper/dapp/DappHdRecordMapper.xml
+++ b/src/main/resources/mapper/dapp/DappHdRecordMapper.xml
@@ -16,6 +16,24 @@
 			dapp_coin_price
 			order by CREATE_TIME desc
     </select>
+    <select id="findHdRecordInPage" resultType="cc.mrbird.febs.dapp.entity.DappHdRecord">
+        SELECT
+			*
+		FROM
+			dapp_hd_record
+
+		<where>
+			<if test="record != null">
+				<if test="record.startTime != null and record.startTime != ''">
+					and create_time &gt;= #{record.startTime}
+				</if>
+				<if test="record.endTime != null and record.endTime != ''">
+					and create_time &lt;= #{record.endTime}
+				</if>
+			</if>
+		</where>
+			order by CREATE_TIME desc
+    </select>
 
 	<select id="selectNewRecord" resultType="cc.mrbird.febs.dapp.entity.DappHdRecord">
 		SELECT

--
Gitblit v1.9.1