From 94f18c6cae352c9ccb7ea4abceef6db586709dcf Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Fri, 19 May 2023 18:28:49 +0800
Subject: [PATCH] twoCoin项目修改

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

diff --git a/src/main/resources/mapper/dapp/DappSystemProfitDao.xml b/src/main/resources/mapper/dapp/DappSystemProfitDao.xml
index 44434cf..159c01e 100644
--- a/src/main/resources/mapper/dapp/DappSystemProfitDao.xml
+++ b/src/main/resources/mapper/dapp/DappSystemProfitDao.xml
@@ -94,4 +94,20 @@
         order by a.create_time asc
     </select>
 
+    <select id="selectDappSysstemProfitByState" resultType="cc.mrbird.febs.dapp.entity.DappSystemProfit">
+        select
+            a.*
+        from
+            dapp_system_profit a
+        where a.state = #{state}
+        order by a.id asc
+    </select>
+
+    <select id="selectByMemberId" resultType="cc.mrbird.febs.dapp.entity.DappSystemProfit">
+        select a.*
+        from dapp_system_profit a
+        where member_id = #{memberId}
+            limit 1
+    </select>
+
 </mapper>
\ No newline at end of file

--
Gitblit v1.9.1