|
@@ -53,6 +53,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<result property="realLiveEndTime" column="real_live_end_time"/>
|
|
<result property="realLiveEndTime" column="real_live_end_time"/>
|
|
<result property="realDuration" column="real_duration"/>
|
|
<result property="realDuration" column="real_duration"/>
|
|
<result property="teacherId" column="teacher_id"/>
|
|
<result property="teacherId" column="teacher_id"/>
|
|
|
|
+ <result property="viewSign" column="view_sign"/>
|
|
<collection property="businessList" column="section_id" select="findBusinessList"/>
|
|
<collection property="businessList" column="section_id" select="findBusinessList"/>
|
|
<collection property="chapterList" column="section_id" select="findChapterList"/>
|
|
<collection property="chapterList" column="section_id" select="findChapterList"/>
|
|
<!-- <collection property="moduleList" javaType="java.util.List" resultMap="CourseModuleChapterListResult"/>
|
|
<!-- <collection property="moduleList" javaType="java.util.List" resultMap="CourseModuleChapterListResult"/>
|
|
@@ -147,6 +148,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<if test="sectionType != null and sectionType != ''">
|
|
<if test="sectionType != null and sectionType != ''">
|
|
AND c.section_type = #{sectionType}
|
|
AND c.section_type = #{sectionType}
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="viewSign != null and viewSign != ''">
|
|
|
|
+ AND c.view_sign = #{viewSign}
|
|
|
|
+ </if>
|
|
<if test="prefixName != null and prefixName != ''">
|
|
<if test="prefixName != null and prefixName != ''">
|
|
AND c.prefix_name like concat('%', #{prefixName}, '%')
|
|
AND c.prefix_name like concat('%', #{prefixName}, '%')
|
|
</if>
|
|
</if>
|