|
@@ -36,6 +36,7 @@
|
|
|
<result property="viewEndTime" column="view_end_time" />
|
|
|
<result property="lastJoinTime" column="last_join_time" />
|
|
|
<result property="projectId" column="project_id" />
|
|
|
+ <result property="isFirst" column="is_first" />
|
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectFsUserCourseVideoVo">
|
|
@@ -105,6 +106,7 @@
|
|
|
<if test="listingStartTime != null">listing_start_time,</if>
|
|
|
<if test="listingEndTime != null">listing_end_time,</if>
|
|
|
<if test="userId != null">user_id,</if>
|
|
|
+ <if test="isFirst != null">is_first,</if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="fileId != null">#{fileId},</if>
|
|
@@ -142,6 +144,7 @@
|
|
|
<if test="listingEndTime != null">#{listingEndTime},</if>
|
|
|
<if test="projectId != null">#{projectId},</if>
|
|
|
<if test="userId != null">#{userId},</if>
|
|
|
+ <if test="isFirst != null">#{isFirst},</if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
<insert id="insertBatchFsUserCourseVideo" parameterType="FsUserCourseVideo" useGeneratedKeys="true" keyProperty="videoId">
|
|
@@ -228,6 +231,7 @@
|
|
|
<if test="listingStartTime != null">listing_start_time = #{listingStartTime},</if>
|
|
|
<if test="listingEndTime != null">listing_end_time = #{listingEndTime},</if>
|
|
|
<if test="projectId != null">project_id = #{projectId},</if>
|
|
|
+ <if test="isFirst != null">is_first = #{isFirst},</if>
|
|
|
</trim>
|
|
|
where video_id = #{videoId}
|
|
|
</update>
|