|
@@ -37,6 +37,7 @@
|
|
|
<result property="lastJoinTime" column="last_join_time" />
|
|
<result property="lastJoinTime" column="last_join_time" />
|
|
|
<result property="projectId" column="project_id" />
|
|
<result property="projectId" column="project_id" />
|
|
|
<result property="isFirst" column="is_first" />
|
|
<result property="isFirst" column="is_first" />
|
|
|
|
|
+ <result property="screenType" column="screen_type" />
|
|
|
</resultMap>
|
|
</resultMap>
|
|
|
|
|
|
|
|
<sql id="selectFsUserCourseVideoVo">
|
|
<sql id="selectFsUserCourseVideoVo">
|
|
@@ -112,6 +113,7 @@
|
|
|
<if test="isSpeed != null">is_speed,</if>
|
|
<if test="isSpeed != null">is_speed,</if>
|
|
|
<if test="jobId != null">job_id,</if>
|
|
<if test="jobId != null">job_id,</if>
|
|
|
<if test="vid != null">vid,</if>
|
|
<if test="vid != null">vid,</if>
|
|
|
|
|
+ <if test="screenType != null">screen_type,</if>
|
|
|
</trim>
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="fileId != null">#{fileId},</if>
|
|
<if test="fileId != null">#{fileId},</if>
|
|
@@ -154,6 +156,7 @@
|
|
|
<if test="isSpeed != null">#{isSpeed},</if>
|
|
<if test="isSpeed != null">#{isSpeed},</if>
|
|
|
<if test="jobId != null">#{jobId},</if>
|
|
<if test="jobId != null">#{jobId},</if>
|
|
|
<if test="vid != null">#{vid},</if>
|
|
<if test="vid != null">#{vid},</if>
|
|
|
|
|
+ <if test="screenType != null">#{screenType},</if>
|
|
|
</trim>
|
|
</trim>
|
|
|
</insert>
|
|
</insert>
|
|
|
<insert id="insertBatchFsUserCourseVideo" parameterType="FsUserCourseVideo" useGeneratedKeys="true" keyProperty="videoId">
|
|
<insert id="insertBatchFsUserCourseVideo" parameterType="FsUserCourseVideo" useGeneratedKeys="true" keyProperty="videoId">
|
|
@@ -176,7 +179,8 @@
|
|
|
file_key,
|
|
file_key,
|
|
|
is_transcode,
|
|
is_transcode,
|
|
|
user_id,
|
|
user_id,
|
|
|
- project_id
|
|
|
|
|
|
|
+ project_id,
|
|
|
|
|
+ screen_type
|
|
|
)
|
|
)
|
|
|
values
|
|
values
|
|
|
<foreach collection="collect" item="item" separator=",">
|
|
<foreach collection="collect" item="item" separator=",">
|
|
@@ -198,7 +202,8 @@
|
|
|
#{item.fileKey},
|
|
#{item.fileKey},
|
|
|
#{item.isTranscode},
|
|
#{item.isTranscode},
|
|
|
#{item.userId},
|
|
#{item.userId},
|
|
|
- #{item.projectId}
|
|
|
|
|
|
|
+ #{item.projectId},
|
|
|
|
|
+ #{item.screenType}
|
|
|
)
|
|
)
|
|
|
</foreach>
|
|
</foreach>
|
|
|
</insert>
|
|
</insert>
|
|
@@ -246,6 +251,7 @@
|
|
|
<if test="isOnPut != null">is_on_put = #{isOnPut},</if>
|
|
<if test="isOnPut != null">is_on_put = #{isOnPut},</if>
|
|
|
<if test="jobId != null">job_id = #{jobId},</if>
|
|
<if test="jobId != null">job_id = #{jobId},</if>
|
|
|
<if test="vid != null">vid = #{vid},</if>
|
|
<if test="vid != null">vid = #{vid},</if>
|
|
|
|
|
+ <if test="screenType != null">screen_type = #{screenType},</if>
|
|
|
</trim>
|
|
</trim>
|
|
|
where video_id = #{videoId}
|
|
where video_id = #{videoId}
|
|
|
</update>
|
|
</update>
|
|
@@ -279,6 +285,7 @@
|
|
|
video.STATUS,
|
|
video.STATUS,
|
|
|
video.course_sort,
|
|
video.course_sort,
|
|
|
video.is_speed,
|
|
video.is_speed,
|
|
|
|
|
+ video.screen_type,
|
|
|
course.course_name,
|
|
course.course_name,
|
|
|
fcpd.period_id,
|
|
fcpd.period_id,
|
|
|
fcp.period_name,
|
|
fcp.period_name,
|
|
@@ -335,6 +342,7 @@
|
|
|
video.STATUS,
|
|
video.STATUS,
|
|
|
video.course_sort,
|
|
video.course_sort,
|
|
|
video.is_speed,
|
|
video.is_speed,
|
|
|
|
|
+ video.screen_type,
|
|
|
course.course_name,
|
|
course.course_name,
|
|
|
fcpd.period_id,
|
|
fcpd.period_id,
|
|
|
fcp.period_name,
|
|
fcp.period_name,
|