From 8458e64aab474c0fc2f49ae4ff22fb11ce5cf6e2 Mon Sep 17 00:00:00 2001
From: “djh” <“3298565835@qq.com”>
Date: 星期一, 11 十一月 2024 16:55:28 +0800
Subject: [PATCH] 批次新增学员查询条件,新增题目导入接口

---
 exam-system/src/main/resources/mapper/system/ExCourseChapterPeriodMapper.xml |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/exam-system/src/main/resources/mapper/system/ExCourseChapterPeriodMapper.xml b/exam-system/src/main/resources/mapper/system/ExCourseChapterPeriodMapper.xml
index daa8f1c..13ad48b 100644
--- a/exam-system/src/main/resources/mapper/system/ExCourseChapterPeriodMapper.xml
+++ b/exam-system/src/main/resources/mapper/system/ExCourseChapterPeriodMapper.xml
@@ -40,5 +40,9 @@
         select * from ex_course_chapter_period where chapter_id=#{chapterId}
     </select>
 
+    <select id="selectCountByCourseId" resultType="java.lang.Integer" parameterType="java.lang.Long">
+        select count(1) from ex_course_chapter_period where course_id=#{courseId} and status=0
+    </select>
+
 
 </mapper>

--
Gitblit v1.9.2