From 04b73bbb2b20f0c3bef5c8ca94edf97eeb9d0994 Mon Sep 17 00:00:00 2001
From: KKSU <15274802129@163.com>
Date: Sat, 11 May 2024 11:35:26 +0800
Subject: [PATCH] 香港新环境

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

diff --git a/src/main/resources/mapper/dapp/DappChargeUsdtMapper.xml b/src/main/resources/mapper/dapp/DappChargeUsdtMapper.xml
index 4eabecc..b1a59c1 100644
--- a/src/main/resources/mapper/dapp/DappChargeUsdtMapper.xml
+++ b/src/main/resources/mapper/dapp/DappChargeUsdtMapper.xml
@@ -14,4 +14,11 @@
         where member_id = #{memberId}
     </select>
 
+    <select id="selectBySumAmountMemberIdAndDate" resultType="java.math.BigDecimal">
+        select ifnull(sum(amount),0)
+        from dapp_charge_usdt
+        where member_id = #{memberId}
+        and date_format(create_time, '%Y-%m-%d') = #{dateTime}
+    </select>
+
 </mapper>
\ No newline at end of file

--
Gitblit v1.9.1