From a79d4f40309196954dbcf6f3146c5c960a196d16 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Fri, 08 Oct 2021 11:55:33 +0800
Subject: [PATCH] 20211008
---
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