From 98e8b6427b73efc44dbd9511e8291afea6c188d8 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Thu, 24 Aug 2023 11:44:26 +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