and ${criterion.condition}
and ${criterion.condition} #{criterion.value}
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
and ${criterion.condition}
#{listItem}
and ${criterion.condition}
and ${criterion.condition} #{criterion.value}
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
and ${criterion.condition}
#{listItem}
id, user_id, video_id, attachment_idx, message_id, send_time, create_time
delete from we_com_history_message
where id = #{id,jdbcType=BIGINT}
delete from we_com_history_message
insert into we_com_history_message (id, user_id, video_id,
attachment_idx, message_id, send_time,
create_time)
values (#{id,jdbcType=BIGINT}, #{userId,jdbcType=BIGINT}, #{videoId,jdbcType=BIGINT},
#{attachmentIdx,jdbcType=INTEGER}, #{messageId,jdbcType=BIGINT}, #{sendTime,jdbcType=TIMESTAMP},
#{createTime,jdbcType=TIMESTAMP})
insert into we_com_history_message
id,
user_id,
video_id,
attachment_idx,
message_id,
send_time,
create_time,
#{id,jdbcType=BIGINT},
#{userId,jdbcType=BIGINT},
#{videoId,jdbcType=BIGINT},
#{attachmentIdx,jdbcType=INTEGER},
#{messageId,jdbcType=BIGINT},
#{sendTime,jdbcType=TIMESTAMP},
#{createTime,jdbcType=TIMESTAMP},
update we_com_history_message
id = #{record.id,jdbcType=BIGINT},
user_id = #{record.userId,jdbcType=BIGINT},
video_id = #{record.videoId,jdbcType=BIGINT},
attachment_idx = #{record.attachmentIdx,jdbcType=INTEGER},
message_id = #{record.messageId,jdbcType=BIGINT},
send_time = #{record.sendTime,jdbcType=TIMESTAMP},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
update we_com_history_message
set id = #{record.id,jdbcType=BIGINT},
user_id = #{record.userId,jdbcType=BIGINT},
video_id = #{record.videoId,jdbcType=BIGINT},
attachment_idx = #{record.attachmentIdx,jdbcType=INTEGER},
message_id = #{record.messageId,jdbcType=BIGINT},
send_time = #{record.sendTime,jdbcType=TIMESTAMP},
create_time = #{record.createTime,jdbcType=TIMESTAMP}
update we_com_history_message
user_id = #{userId,jdbcType=BIGINT},
video_id = #{videoId,jdbcType=BIGINT},
attachment_idx = #{attachmentIdx,jdbcType=INTEGER},
message_id = #{messageId,jdbcType=BIGINT},
send_time = #{sendTime,jdbcType=TIMESTAMP},
create_time = #{createTime,jdbcType=TIMESTAMP},
where id = #{id,jdbcType=BIGINT}
update we_com_history_message
set user_id = #{userId,jdbcType=BIGINT},
video_id = #{videoId,jdbcType=BIGINT},
attachment_idx = #{attachmentIdx,jdbcType=INTEGER},
message_id = #{messageId,jdbcType=BIGINT},
send_time = #{sendTime,jdbcType=TIMESTAMP},
create_time = #{createTime,jdbcType=TIMESTAMP}
where id = #{id,jdbcType=BIGINT}