|
@@ -107,62 +107,26 @@
|
|
|
<if test="status != null">
|
|
|
status_ = #{status, typeHandler=com.yonge.toolset.mybatis.dal.CustomEnumTypeHandler},
|
|
|
</if>
|
|
|
- <if test="title != null">
|
|
|
title_ = #{title},
|
|
|
- </if>
|
|
|
- <if test="updateTime != null">
|
|
|
update_time_ = NOW(),
|
|
|
- </if>
|
|
|
- <if test="content != null">
|
|
|
content_ = #{content},
|
|
|
- </if>
|
|
|
- <if test="coverImage != null">
|
|
|
cover_image_ = #{coverImage},
|
|
|
- </if>
|
|
|
- <if test="videoCoverImage != null">
|
|
|
video_cover_image_ = #{videoCoverImage},
|
|
|
- </if>
|
|
|
- <if test="type != null">
|
|
|
type_ = #{type},
|
|
|
- </if>
|
|
|
online_time_ = #{onlineTime},
|
|
|
offline_time_ = #{offlineTime},
|
|
|
- <if test="subType != null and subType != ''">
|
|
|
sub_type_ = #{subType},
|
|
|
- </if>
|
|
|
- <if test="linkUrl != null">
|
|
|
link_url_ = #{linkUrl},
|
|
|
- </if>
|
|
|
- <if test="hrefTarget != null">
|
|
|
href_target_ = #{hrefTarget},
|
|
|
- </if>
|
|
|
- <if test="order != null">
|
|
|
order_ = #{order},
|
|
|
- </if>
|
|
|
- <if test="memo != null">
|
|
|
memo_ = #{memo},
|
|
|
- </if>
|
|
|
- <if test="delFlag != null">
|
|
|
del_flag_ = #{delFlag},
|
|
|
- </if>
|
|
|
- <if test="attribute1 != null">
|
|
|
attribute1_ = #{attribute1},
|
|
|
- </if>
|
|
|
- <if test="attribute2 != null">
|
|
|
attribute2_ = #{attribute2},
|
|
|
- </if>
|
|
|
- <if test="subjectIdList != null">
|
|
|
subject_id_list_ = #{subjectIdList},
|
|
|
- </if>
|
|
|
- <if test="updateBy != null">
|
|
|
update_by_ = #{updateBy},
|
|
|
- </if>
|
|
|
- <if test="linkType != null">
|
|
|
link_type_ = #{linkType},
|
|
|
- </if>
|
|
|
- <if test="showTime != null">
|
|
|
show_time_ = #{showTime}
|
|
|
- </if>
|
|
|
</set>
|
|
|
WHERE id_ = #{id}
|
|
|
</update>
|