From 87cd3ee733c4658880de4ea4888d8414beb6dff4 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Tue, 13 Dec 2022 16:04:49 +0800
Subject: [PATCH] 20221213转币

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

diff --git a/src/main/resources/mapper/dapp/DappFundFlowDao.xml b/src/main/resources/mapper/dapp/DappFundFlowDao.xml
index 92574b1..17b12ed 100644
--- a/src/main/resources/mapper/dapp/DappFundFlowDao.xml
+++ b/src/main/resources/mapper/dapp/DappFundFlowDao.xml
@@ -120,10 +120,12 @@
           and type = #{type}
     </select>
 
-    <select id="selectListBySystemProfitIdAndState" resultType="cc.mrbird.febs.dapp.entity.DappFundFlowEntity">
+    <select id="selectListByState" resultType="cc.mrbird.febs.dapp.entity.DappFundFlowEntity">
         select *
         from dapp_fund_flow
-        where system_profit_id = #{systemProfitId}
-          and status = #{status}
+        where status = #{status}
+          and version = 1
+        and type != 1
+        and type != 6
     </select>
 </mapper>
\ No newline at end of file

--
Gitblit v1.9.1