From a39e023677a9c5c68ba3b6577f0d7da24b9dc65e Mon Sep 17 00:00:00 2001
From: kongzy <kongzy>
Date: 星期三, 30 十月 2024 11:14:08 +0800
Subject: [PATCH] update

---
 exam-system/src/main/resources/mapper/system/ExCoursePhaseMapper.xml |    2 +-
 exam-system/src/main/resources/mapper/system/ExCourseMapper.xml      |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/exam-system/src/main/resources/mapper/system/ExCourseMapper.xml b/exam-system/src/main/resources/mapper/system/ExCourseMapper.xml
index 70445b4..679b397 100644
--- a/exam-system/src/main/resources/mapper/system/ExCourseMapper.xml
+++ b/exam-system/src/main/resources/mapper/system/ExCourseMapper.xml
@@ -34,7 +34,7 @@
     </sql>
 
     <update id="deleteByCourseId">
-        update ex_course set de_flag=1 where id=#{courseId}
+        update ex_course set del_flag=1 where id=#{courseId}
     </update>
 
     <select id="selectCourseList" resultMap="ExCourseResult">
diff --git a/exam-system/src/main/resources/mapper/system/ExCoursePhaseMapper.xml b/exam-system/src/main/resources/mapper/system/ExCoursePhaseMapper.xml
index fc7cc68..3dea21f 100644
--- a/exam-system/src/main/resources/mapper/system/ExCoursePhaseMapper.xml
+++ b/exam-system/src/main/resources/mapper/system/ExCoursePhaseMapper.xml
@@ -71,7 +71,7 @@
     </select>
 
     <select id="selectCountByCourseId" resultType="java.lang.Integer">
-        select count(1) from ex_course_phase where del_flag=0 and courde_id=#{courseId}
+        select count(1) from ex_course_phase where del_flag=0 and course_id=#{courseId}
     </select>
 
     <select id="getCoursePeriod" resultType="java.lang.Long">

--
Gitblit v1.9.2