|
@@ -41,12 +41,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="recordingDuration" column="recording_duration"/>
|
|
|
<result property="coverUrl" column="cover_url"/>
|
|
|
<result property="code" column="code"/>
|
|
|
- <collection property="businessList" javaType="java.util.List" resultMap="CourseStreamingBusinessResult"/>
|
|
|
+ <collection property="businessList" javaType="java.util.List" resultMap="CourseSectionBusiness"/>
|
|
|
+ <collection property="chapterList" javaType="java.util.List" resultMap="CourseChapterSectionResult"/>
|
|
|
</resultMap>
|
|
|
|
|
|
- <resultMap type="com.zhongzheng.modules.course.domain.CourseStreamingBusiness" id="CourseStreamingBusinessResult">
|
|
|
+ <resultMap type="com.zhongzheng.modules.course.domain.CourseSectionBusiness" id="CourseSectionBusiness">
|
|
|
<result property="id" column="id"/>
|
|
|
- <result property="streamingId" column="streaming_id"/>
|
|
|
+ <result property="subjectId" column="subject_id"/>
|
|
|
<result property="educationTypeId" column="education_type_id"/>
|
|
|
<result property="businessId" column="business_id"/>
|
|
|
<result property="projectId" column="project_id"/>
|
|
@@ -54,6 +55,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="educationName" column="education_name"/>
|
|
|
<result property="projectName" column="project_name"/>
|
|
|
<result property="businessName" column="business_name"/>
|
|
|
+ <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"/>
|
|
|
+ <result property="chapterId" column="chapter_id"/>
|
|
|
</resultMap>
|
|
|
|
|
|
<select id="selectSectionList" parameterType="com.zhongzheng.modules.course.bo.CourseSectionQueryBo" resultMap="CourseSectionResultVo">
|