From 288e2a2ca2e7c2f7158507174a42f8a417380d23 Mon Sep 17 00:00:00 2001
From: KKSU <15274802129@163.com>
Date: Tue, 17 Dec 2024 18:03:35 +0800
Subject: [PATCH] feat(mall): 实现 VIP购买功能
---
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 eaa443b..1f5e297 100644
--- a/src/main/resources/mapper/modules/MallMemberWalletMapper.xml
+++ b/src/main/resources/mapper/modules/MallMemberWalletMapper.xml
@@ -13,6 +13,13 @@
where id=#{record.id} and revision=#{record.revision}
</update>
+ <update id="updateScoreWithVersion">
+ update mall_member_wallet
+ set revision = revision + 1,
+ score = #{record.score}
+ where id=#{record.id} and revision=#{record.revision}
+ </update>
+
<update id="updateCommissionWithVersion">
update mall_member_wallet
set revision = revision + 1,
--
Gitblit v1.9.1