From 836e019db92b9871cba9d440c8159b35f79e1726 Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Thu, 30 Mar 2023 09:32:42 +0800 Subject: [PATCH] 根据补贴记录,减少用户贡献值 --- src/main/resources/mapper/modules/MallMemberWalletMapper.xml | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/src/main/resources/mapper/modules/MallMemberWalletMapper.xml b/src/main/resources/mapper/modules/MallMemberWalletMapper.xml index 36a38eb..ac0aa70 100644 --- a/src/main/resources/mapper/modules/MallMemberWalletMapper.xml +++ b/src/main/resources/mapper/modules/MallMemberWalletMapper.xml @@ -119,5 +119,13 @@ WHERE member_id = #{memberId} </update> + <update id="reduceStarByMemberId"> + update mall_member_wallet + <set> + star = star - #{star}, + </set> + WHERE member_id = #{memberId} + </update> + </mapper> \ No newline at end of file -- Gitblit v1.9.1