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, corp_id, user_id, staff_id, video_id, attachment_idx, message_id, `status`, send_time, is_delete, 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, corp_id, user_id, staff_id, video_id, attachment_idx, message_id, `status`, send_time, is_delete, create_time) values (#{id,jdbcType=BIGINT}, #{corpId,jdbcType=BIGINT}, #{userId,jdbcType=BIGINT}, #{staffId,jdbcType=BIGINT}, #{videoId,jdbcType=BIGINT}, #{attachmentIdx,jdbcType=INTEGER}, #{messageId,jdbcType=BIGINT}, #{status,jdbcType=INTEGER}, #{sendTime,jdbcType=TIMESTAMP}, #{isDelete,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}) insert into we_com_history_message id, corp_id, user_id, staff_id, video_id, attachment_idx, message_id, `status`, send_time, is_delete, create_time, #{id,jdbcType=BIGINT}, #{corpId,jdbcType=BIGINT}, #{userId,jdbcType=BIGINT}, #{staffId,jdbcType=BIGINT}, #{videoId,jdbcType=BIGINT}, #{attachmentIdx,jdbcType=INTEGER}, #{messageId,jdbcType=BIGINT}, #{status,jdbcType=INTEGER}, #{sendTime,jdbcType=TIMESTAMP}, #{isDelete,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, update we_com_history_message id = #{record.id,jdbcType=BIGINT}, corp_id = #{record.corpId,jdbcType=BIGINT}, user_id = #{record.userId,jdbcType=BIGINT}, staff_id = #{record.staffId,jdbcType=BIGINT}, video_id = #{record.videoId,jdbcType=BIGINT}, attachment_idx = #{record.attachmentIdx,jdbcType=INTEGER}, message_id = #{record.messageId,jdbcType=BIGINT}, `status` = #{record.status,jdbcType=INTEGER}, send_time = #{record.sendTime,jdbcType=TIMESTAMP}, is_delete = #{record.isDelete,jdbcType=INTEGER}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, update we_com_history_message set id = #{record.id,jdbcType=BIGINT}, corp_id = #{record.corpId,jdbcType=BIGINT}, user_id = #{record.userId,jdbcType=BIGINT}, staff_id = #{record.staffId,jdbcType=BIGINT}, video_id = #{record.videoId,jdbcType=BIGINT}, attachment_idx = #{record.attachmentIdx,jdbcType=INTEGER}, message_id = #{record.messageId,jdbcType=BIGINT}, `status` = #{record.status,jdbcType=INTEGER}, send_time = #{record.sendTime,jdbcType=TIMESTAMP}, is_delete = #{record.isDelete,jdbcType=INTEGER}, create_time = #{record.createTime,jdbcType=TIMESTAMP} update we_com_history_message corp_id = #{corpId,jdbcType=BIGINT}, user_id = #{userId,jdbcType=BIGINT}, staff_id = #{staffId,jdbcType=BIGINT}, video_id = #{videoId,jdbcType=BIGINT}, attachment_idx = #{attachmentIdx,jdbcType=INTEGER}, message_id = #{messageId,jdbcType=BIGINT}, `status` = #{status,jdbcType=INTEGER}, send_time = #{sendTime,jdbcType=TIMESTAMP}, is_delete = #{isDelete,jdbcType=INTEGER}, create_time = #{createTime,jdbcType=TIMESTAMP}, where id = #{id,jdbcType=BIGINT} update we_com_history_message set corp_id = #{corpId,jdbcType=BIGINT}, user_id = #{userId,jdbcType=BIGINT}, staff_id = #{staffId,jdbcType=BIGINT}, video_id = #{videoId,jdbcType=BIGINT}, attachment_idx = #{attachmentIdx,jdbcType=INTEGER}, message_id = #{messageId,jdbcType=BIGINT}, `status` = #{status,jdbcType=INTEGER}, send_time = #{sendTime,jdbcType=TIMESTAMP}, is_delete = #{isDelete,jdbcType=INTEGER}, create_time = #{createTime,jdbcType=TIMESTAMP} where id = #{id,jdbcType=BIGINT}