From d48b216367e078f5d4a048f6477c289e7d68c8fe Mon Sep 17 00:00:00 2001 From: KKSU <15274802129@163.com> Date: Mon, 30 Dec 2024 15:58:16 +0800 Subject: [PATCH] chore: 修改日志级别 - 将 cc.mrbird.febs 的日志级别从 debug改为 info - 此修改旨在减少生产环境中的日志输出,提高系统性能 --- src/main/resources/mapper/modules/MallMemberWalletMapper.xml | 36 ++++++++++++++++++++++++++++++++++-- 1 files changed, 34 insertions(+), 2 deletions(-) diff --git a/src/main/resources/mapper/modules/MallMemberWalletMapper.xml b/src/main/resources/mapper/modules/MallMemberWalletMapper.xml index 6036704..eaa443b 100644 --- a/src/main/resources/mapper/modules/MallMemberWalletMapper.xml +++ b/src/main/resources/mapper/modules/MallMemberWalletMapper.xml @@ -8,8 +8,40 @@ <update id="updateBalanceWithVersion"> update mall_member_wallet - set REVISION = REVISION + 1, + set revision = revision + 1, balance = #{record.balance} - where id=#{record.id} and REVISION=#{record.REVISION} + where id=#{record.id} and revision=#{record.revision} + </update> + + <update id="updateCommissionWithVersion"> + update mall_member_wallet + set revision = revision + 1, + commission = #{record.commission} + 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> + + <update id="updateAmountWithVersion"> + update mall_member_wallet + set revision = revision + 1 + <if test="record.balance != null"> + , balance = #{record.balance} + </if> + <if test="record.score != null"> + , score = #{record.score} + </if> + <if test="record.prizeScore != null"> + , prize_score = #{record.prizeScore} + </if> + <if test="record.commission != null"> + , commission = #{record.commission} + </if> + where id=#{record.id} and revision=#{record.revision} </update> </mapper> \ No newline at end of file -- Gitblit v1.9.1