|
@@ -215,6 +215,16 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
</trim>
|
|
|
on duplicate key update
|
|
|
<trim suffixOverrides=",">
|
|
|
+ <if test="watchCourseCount != null">watch_course_count = #{watchCourseCount},</if>
|
|
|
+ <if test="missCourseCount != null">miss_course_count = #{missCourseCount},</if>
|
|
|
+ <if test="missCourseStatus != null">miss_course_status = #{missCourseStatus},</if>
|
|
|
+ <if test="courseIds != null">course_ids = #{courseIds},</if>
|
|
|
+ <if test="partCourseCount != null">part_course_count = #{partCourseCount},</if>
|
|
|
+ <if test="lastWatchDate != null">last_watch_date = #{lastWatchDate},</if>
|
|
|
+ <if test="status != null">status = #{status},</if>
|
|
|
+ <if test="completeWatchDate != null">complete_watch_date = #{completeWatchDate},</if>
|
|
|
+ <if test="completeWatchCount != null">complete_watch_count = #{completeWatchCount},</if>
|
|
|
+ <if test="watchTimes != null">watch_times = #{watchTimes},</if>
|
|
|
<if test="updateTime != null">update_time = #{updateTime},</if>
|
|
|
</trim>
|
|
|
</insert>
|