From cbf7a2cc9807f1647a92d9ffc3f51791f8ac9ca0 Mon Sep 17 00:00:00 2001
From: wzy <wzy19931122ai@163.com>
Date: Sun, 01 Nov 2020 16:00:53 +0800
Subject: [PATCH] modify

---
 src/main/resources/mapper/member/MemberWalletContractDao.xml |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/main/resources/mapper/member/MemberWalletContractDao.xml b/src/main/resources/mapper/member/MemberWalletContractDao.xml
index 4c7ec6e..878b221 100644
--- a/src/main/resources/mapper/member/MemberWalletContractDao.xml
+++ b/src/main/resources/mapper/member/MemberWalletContractDao.xml
@@ -14,13 +14,13 @@
 		update member_wallet_contract
 		<set>
 			<if test="availableBalance!=null">
-				available_balance = #{availableBalance},
+				available_balance = available_balance + #{availableBalance},
 			</if>
 			<if test="totalBalance!=null">
-				total_balance = #{totalBalance},
+				total_balance =total_balance + #{totalBalance},
 			</if>
 			<if test="frozenBalance!=null">
-				frozen_balance = #{frozenBalance},
+				frozen_balance = frozen_balance + #{frozenBalance},
 			</if>
 		</set>
 		where id =#{id}

--
Gitblit v1.9.1