From 81d826f455491f18f64c4032fc07be5c6abdd009 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Wed, 29 Sep 2021 17:03:31 +0800
Subject: [PATCH] 20210928

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

diff --git a/src/main/resources/mapper/modules/MallMemberWalletMapper.xml b/src/main/resources/mapper/modules/MallMemberWalletMapper.xml
index fb94670..cc3b0b8 100644
--- a/src/main/resources/mapper/modules/MallMemberWalletMapper.xml
+++ b/src/main/resources/mapper/modules/MallMemberWalletMapper.xml
@@ -12,4 +12,11 @@
             balance = #{record.balance}
         where id=#{record.id} and revision=#{record.revision}
     </update>
+
+    <update id="updateBalanceWithId">
+        update mall_member_wallet
+        set revision = revision + 1,
+            balance = #{record.balance}
+        where id=#{record.id}
+    </update>
 </mapper>
\ No newline at end of file

--
Gitblit v1.9.1