From d5c0d74f06a70a946f9c34c0ea922bf3b9b4dafe Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Fri, 21 Jul 2023 17:19:23 +0800
Subject: [PATCH] 订单支付后生成对应的课程单

---
 src/main/resources/mapper/modules/MallAgentRecordMapper.xml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/main/resources/mapper/modules/MallAgentRecordMapper.xml b/src/main/resources/mapper/modules/MallAgentRecordMapper.xml
index 4607718..5f1d001 100644
--- a/src/main/resources/mapper/modules/MallAgentRecordMapper.xml
+++ b/src/main/resources/mapper/modules/MallAgentRecordMapper.xml
@@ -36,7 +36,7 @@
     <update id="updateStateByMemberId">
         update mall_agent_record
         set state = 2
-        where member_id = #{memberId}
+        where id = #{memberId}
     </update>
 
     <delete id="deleteByMemberIdAndState">

--
Gitblit v1.9.1