|
@@ -30,6 +30,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="chapterId" column="chapter_id"/>
|
|
|
<result property="gradeId" column="grade_id"/>
|
|
|
<result property="sectionName" column="section_name"/>
|
|
|
+ <result property="recordingUrl" column="recording_url"/>
|
|
|
</resultMap>
|
|
|
|
|
|
<resultMap type="com.zhongzheng.modules.user.vo.UserDateNoteVo" id="UserDateNoteVo">
|
|
@@ -70,7 +71,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<select id="listDateSon" parameterType="com.zhongzheng.modules.user.bo.UserNoteQueryBo" resultMap="UserNoteVo">
|
|
|
SELECT
|
|
|
un.*,
|
|
|
- (SELECT cs.`name` FROM course_section cs where cs.section_id = un.section_id) as section_name
|
|
|
+ (SELECT cs.`name` FROM course_section cs where cs.section_id = un.section_id) as section_name,
|
|
|
+ (SELECT cs.recording_url FROM course_section cs where cs.section_id = un.section_id) as recording_url
|
|
|
FROM
|
|
|
user_note un
|
|
|
WHERE 1=1
|