From 13b668139913e5000eb2c7bb71d47ca665d21f73 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Wed, 31 May 2023 10:15:21 +0800
Subject: [PATCH] twoCoin项目修改

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

diff --git a/src/main/resources/mapper/dapp/DappFundFlowDao.xml b/src/main/resources/mapper/dapp/DappFundFlowDao.xml
index 17a8af7..4ae7cfb 100644
--- a/src/main/resources/mapper/dapp/DappFundFlowDao.xml
+++ b/src/main/resources/mapper/dapp/DappFundFlowDao.xml
@@ -128,6 +128,18 @@
           and version = #{version}
           and from_hash is null
           and is_return = 2
+          and type in (2,3,27)
+        ORDER BY
+            id ASC
+            LIMIT 1
+    </select>
+
+    <select id="selectByStateAndVersionAndFromHashTwoLimitOne" resultType="cc.mrbird.febs.dapp.entity.DappFundFlowEntity">
+        select * from dapp_fund_flow
+        where status = #{status}
+          and from_hash is null
+          and is_return = 2
+          and type in (5,6)
         ORDER BY
             id ASC
             LIMIT 1

--
Gitblit v1.9.1