From e92b00089d8d57899df380135d79864dade09837 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Thu, 09 Feb 2023 16:18:59 +0800
Subject: [PATCH] 修改波场JAR 手续费修改成15trx
---
src/main/resources/mapper/dapp/MemberCoinWithdrawMapper.xml | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
diff --git a/src/main/resources/mapper/dapp/MemberCoinWithdrawMapper.xml b/src/main/resources/mapper/dapp/MemberCoinWithdrawMapper.xml
index 85f375e..6dd720d 100644
--- a/src/main/resources/mapper/dapp/MemberCoinWithdrawMapper.xml
+++ b/src/main/resources/mapper/dapp/MemberCoinWithdrawMapper.xml
@@ -46,7 +46,7 @@
FROM
member_coin_withdraw
WHERE
- is_inside = 'N'
+ is_inside = 'N' and status = 2
and date_format(create_time, '%Y-%m-%d') = date_format(#{createTime}, '%Y-%m-%d')
<if test="description !=null and description != ''">
and member_id IN (
@@ -61,4 +61,14 @@
</select>
+ <select id="selectTotalAmountByMemberIdAndType" resultType="java.math.BigDecimal">
+ SELECT
+ IFNULL(sum(amount),0)
+ FROM
+ member_coin_withdraw
+ WHERE
+ is_inside = #{inside}
+ and member_id = #{memberId}
+ </select>
+
</mapper>
\ No newline at end of file
--
Gitblit v1.9.1