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, pre_send_date, staff_id, content, attachment_ids, is_send, create_time, update_time
delete from we_com_moment_send_message
where id = #{id,jdbcType=BIGINT}
delete from we_com_moment_send_message
insert into we_com_moment_send_message (id, pre_send_date, staff_id,
content, attachment_ids, is_send,
create_time, update_time)
values (#{id,jdbcType=BIGINT}, #{preSendDate,jdbcType=VARCHAR}, #{staffId,jdbcType=BIGINT},
#{content,jdbcType=VARCHAR}, #{attachmentIds,jdbcType=VARCHAR}, #{isSend,jdbcType=INTEGER},
#{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP})
insert into we_com_moment_send_message
id,
pre_send_date,
staff_id,
content,
attachment_ids,
is_send,
create_time,
update_time,
#{id,jdbcType=BIGINT},
#{preSendDate,jdbcType=VARCHAR},
#{staffId,jdbcType=BIGINT},
#{content,jdbcType=VARCHAR},
#{attachmentIds,jdbcType=VARCHAR},
#{isSend,jdbcType=INTEGER},
#{createTime,jdbcType=TIMESTAMP},
#{updateTime,jdbcType=TIMESTAMP},
update we_com_moment_send_message
id = #{record.id,jdbcType=BIGINT},
pre_send_date = #{record.preSendDate,jdbcType=VARCHAR},
staff_id = #{record.staffId,jdbcType=BIGINT},
content = #{record.content,jdbcType=VARCHAR},
attachment_ids = #{record.attachmentIds,jdbcType=VARCHAR},
is_send = #{record.isSend,jdbcType=INTEGER},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
update we_com_moment_send_message
set id = #{record.id,jdbcType=BIGINT},
pre_send_date = #{record.preSendDate,jdbcType=VARCHAR},
staff_id = #{record.staffId,jdbcType=BIGINT},
content = #{record.content,jdbcType=VARCHAR},
attachment_ids = #{record.attachmentIds,jdbcType=VARCHAR},
is_send = #{record.isSend,jdbcType=INTEGER},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
update_time = #{record.updateTime,jdbcType=TIMESTAMP}
update we_com_moment_send_message
pre_send_date = #{preSendDate,jdbcType=VARCHAR},
staff_id = #{staffId,jdbcType=BIGINT},
content = #{content,jdbcType=VARCHAR},
attachment_ids = #{attachmentIds,jdbcType=VARCHAR},
is_send = #{isSend,jdbcType=INTEGER},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP},
where id = #{id,jdbcType=BIGINT}
update we_com_moment_send_message
set pre_send_date = #{preSendDate,jdbcType=VARCHAR},
staff_id = #{staffId,jdbcType=BIGINT},
content = #{content,jdbcType=VARCHAR},
attachment_ids = #{attachmentIds,jdbcType=VARCHAR},
is_send = #{isSend,jdbcType=INTEGER},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP}
where id = #{id,jdbcType=BIGINT}