|
@@ -16,6 +16,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="chapterId" column="chapter_id"/>
|
|
|
<result property="sort" column="c_sort"/>
|
|
|
<result property="id" column="id"/>
|
|
|
+ <result property="type" column="type"/>
|
|
|
|
|
|
<result property="code" column="code"/>
|
|
|
<result property="name" column="name"/>
|
|
@@ -32,7 +33,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
cs.*,
|
|
|
ccs.sort as c_sort,
|
|
|
ccs.id,
|
|
|
- ccs.chapter_id
|
|
|
+ ccs.chapter_id,
|
|
|
+ 3 as type
|
|
|
FROM
|
|
|
course_chapter_section ccs
|
|
|
LEFT JOIN course_section cs ON ccs.section_id = cs.section_id
|