From d91e3f18d8218ad0abb1e7835a54271184e69f86 Mon Sep 17 00:00:00 2001 From: KKSU <15274802129@163.com> Date: Thu, 19 Dec 2024 17:09:18 +0800 Subject: [PATCH] feat(mall): 注册时隐藏用户手机号码 --- src/main/resources/mapper/modules/MallMemberWalletMapper.xml | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/src/main/resources/mapper/modules/MallMemberWalletMapper.xml b/src/main/resources/mapper/modules/MallMemberWalletMapper.xml index eaa443b..23a7bb6 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, @@ -44,4 +51,9 @@ </if> where id=#{record.id} and revision=#{record.revision} </update> + + <update id="updateScore"> + UPDATE mall_member_wallet + SET score = 0 + </update> </mapper> \ No newline at end of file -- Gitblit v1.9.1