From 6d648086e13b82f6e3f65efe0d6da30691fcb516 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Fri, 01 Sep 2023 15:28:27 +0800
Subject: [PATCH] 后台修改

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

diff --git a/src/main/resources/mapper/dapp/DappFundFlowDao.xml b/src/main/resources/mapper/dapp/DappFundFlowDao.xml
index e3eff08..179393f 100644
--- a/src/main/resources/mapper/dapp/DappFundFlowDao.xml
+++ b/src/main/resources/mapper/dapp/DappFundFlowDao.xml
@@ -205,4 +205,10 @@
           and status = 2
         group by member_id
     </select>
+
+    <select id="selectSumAmountByMemberIdAndType" resultType="java.math.BigDecimal">
+        select ifnull(sum(amount), 0) from dapp_fund_flow
+        where member_id = #{memberId}
+          and type = #{type}
+    </select>
 </mapper>
\ No newline at end of file

--
Gitblit v1.9.1