|
@@ -42,7 +42,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="coverUrl" column="cover_url"/>
|
|
|
<result property="code" column="code"/>
|
|
|
<collection property="businessList" javaType="java.util.List" resultMap="CourseSectionBusiness"/>
|
|
|
- <collection property="chapterList" javaType="java.util.List" resultMap="CourseChapterSectionResult"/>
|
|
|
+ <collection property="chapterList" javaType="java.util.List" resultMap="CourseChapterSectionListResult"/>
|
|
|
</resultMap>
|
|
|
|
|
|
<resultMap type="com.zhongzheng.modules.course.domain.CourseSectionBusiness" id="CourseSectionBusiness">
|
|
@@ -58,9 +58,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="subjectName" column="subject_name"/>
|
|
|
</resultMap>
|
|
|
|
|
|
- <resultMap type="com.zhongzheng.modules.course.vo.CourseChapterSectionVo" id="CourseChapterSectionResult">
|
|
|
- <result property="csId" column="cs_id"/>
|
|
|
- <result property="sectionId" column="section_id"/>
|
|
|
+ <resultMap type="com.zhongzheng.modules.course.vo.CourseChapterSectionListVo" id="CourseChapterSectionListResult">
|
|
|
+ <result property="chapterName" column="chapter_name"/>
|
|
|
<result property="chapterId" column="chapter_id"/>
|
|
|
</resultMap>
|
|
|
|