|
|
@@ -42,6 +42,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="sectionType" column="section_type"/>
|
|
|
<result property="liveStartTime" column="live_start_time"/>
|
|
|
<result property="liveEndTime" column="live_end_time"/>
|
|
|
+ <result property="recordingUrl" column="recording_url"/>
|
|
|
</resultMap>
|
|
|
|
|
|
<select id="selectList" parameterType="com.zhongzheng.modules.course.bo.CourseMenuQueryBo" resultMap="CourseMenuResultVo">
|
|
|
@@ -102,7 +103,16 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
END duration_time,
|
|
|
cs.section_type,
|
|
|
cs.live_start_time,
|
|
|
- cs.live_end_time
|
|
|
+ cs.live_end_time,
|
|
|
+ CASE
|
|
|
+ WHEN m.type = 1 THEN
|
|
|
+ ''
|
|
|
+ WHEN m.type = 2 THEN
|
|
|
+ ''
|
|
|
+ WHEN m.type = 3 THEN
|
|
|
+ cs.recording_url
|
|
|
+ END recording_url
|
|
|
+
|
|
|
FROM
|
|
|
course_menu m
|
|
|
LEFT JOIN course_module cm ON m.menu_id = cm.module_id
|