From 7b6b9968d3729e2611737e54954bb6ebd42b53bf Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Mon, 29 May 2023 16:26:53 +0800
Subject: [PATCH] twoCoin项目修改

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

diff --git a/src/main/resources/mapper/dapp/DappAKlineMapper.xml b/src/main/resources/mapper/dapp/DappAKlineMapper.xml
index 6ec217f..f2858bb 100644
--- a/src/main/resources/mapper/dapp/DappAKlineMapper.xml
+++ b/src/main/resources/mapper/dapp/DappAKlineMapper.xml
@@ -61,4 +61,20 @@
         order by a.create_time asc
     </select>
 
+    <select id="selectOneHourByType" resultType="cc.mrbird.febs.dapp.entity.DappAKlineEntity">
+        select
+            a.*
+        from dapp_a_kline a
+        where type = 1
+        order by a.create_time desc
+            limit 1
+    </select>
+
+    <select id="selectListByIds" resultType="cc.mrbird.febs.dapp.entity.DappAKlineEntity">
+        select
+            a.*
+        from dapp_a_kline a
+        where id between #{min} and #{max}
+    </select>
+
 </mapper>
\ No newline at end of file

--
Gitblit v1.9.1