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/ExCourseChapterMapper.xml |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/exam-system/src/main/resources/mapper/system/ExCourseChapterMapper.xml b/exam-system/src/main/resources/mapper/system/ExCourseChapterMapper.xml
index e552f0f..8ebafa9 100644
--- a/exam-system/src/main/resources/mapper/system/ExCourseChapterMapper.xml
+++ b/exam-system/src/main/resources/mapper/system/ExCourseChapterMapper.xml
@@ -40,6 +40,9 @@
         <result property="id"       column="resource_id"       />
         <result property="name"       column="resource_name"       />
         <result property="resourcePath"       column="resource_path"       />
+        <result property="resourceType"       column="resource_type"       />
+        <result property="resourceLength"       column="period"       />
+        <result property="docPage"       column="doc_page"       />
     </resultMap>
 
     <sql id="selectChapterVo">
@@ -85,8 +88,8 @@
     </select>
 
     <select id="getChapterPeriodByChapterId" resultMap="ExPeriodResult">
-        select a.id,a.name,a.course_id,a.chapter_id,a.status,a.company_id,a.resource_id,
-               b.resource_length as period,b.name as resource_name,b.resource_path from ex_course_chapter_period a
+        select a.id,a.name,a.course_id,a.chapter_id,a.status,a.company_id,a.resource_id,a.sort,
+               b.resource_length as period,b.name as resource_name,b.resource_path,b.doc_page,b.resource_type from ex_course_chapter_period a
         left join ex_resource b on b.id=a.resource_id
         where a.chapter_id=#{chapterId}
         <if test="status!=null">

--
Gitblit v1.9.2