|
@@ -7,6 +7,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<resultMap type="VipExamVideo" id="VipExamVideoResult">
|
|
|
<result property="id" column="id" />
|
|
|
<result property="videoName" column="video_name" />
|
|
|
+ <result property="seq" column="seq" />
|
|
|
<result property="videoCover" column="video_cover" />
|
|
|
<result property="videoUrl" column="video_url" />
|
|
|
<result property="videoSubject" column="video_subject" />
|
|
@@ -42,6 +43,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="examId != null "> and exam_id = #{examId}</if>
|
|
|
<if test="examName != null and examName != ''"> and exam_name like concat('%', #{examName}, '%')</if>
|
|
|
</where>
|
|
|
+ order by exam_id,seq
|
|
|
</select>
|
|
|
|
|
|
</mapper>
|