From ada59d11d10c4a5db3c748c1997ee4992ee54b3a Mon Sep 17 00:00:00 2001
From: KKSU <15274802129@163.com>
Date: Thu, 11 Jan 2024 14:44:07 +0800
Subject: [PATCH] 套餐

---
 src/main/resources/mapper/modules/MallMemberWalletMapper.xml |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/src/main/resources/mapper/modules/MallMemberWalletMapper.xml b/src/main/resources/mapper/modules/MallMemberWalletMapper.xml
index 1556a5c..ac360ba 100644
--- a/src/main/resources/mapper/modules/MallMemberWalletMapper.xml
+++ b/src/main/resources/mapper/modules/MallMemberWalletMapper.xml
@@ -3,7 +3,7 @@
 <mapper namespace="cc.mrbird.febs.mall.mapper.MallMemberWalletMapper">
 
     <select id="selectWalletByMemberId" resultType="cc.mrbird.febs.mall.entity.MallMemberWallet">
-        select * from mall_member_wallet where member_id=#{memberId} for update
+        select * from mall_member_wallet where member_id=#{memberId}
     </select>
 
     <update id="updateBalanceWithVersion">
@@ -42,6 +42,9 @@
         <if test="record.commission != null">
             , commission = #{record.commission}
         </if>
+        <if test="record.equityLimit != null">
+            , equity_limit = #{record.equityLimit}
+        </if>
         where id=#{record.id} and revision=#{record.revision}
     </update>
 

--
Gitblit v1.9.1