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, `status`, content, attachment_ids, group_msg_disabled,
page_num, page_size, tag_id, gender, create_time, update_time
delete from we_com_special_pre_send_message
where id = #{id,jdbcType=BIGINT}
delete from we_com_special_pre_send_message
insert into we_com_special_pre_send_message (id, pre_send_date, staff_id,
`status`, content, attachment_ids,
group_msg_disabled, page_num, page_size,
tag_id, gender, create_time,
update_time)
values (#{id,jdbcType=BIGINT}, #{preSendDate,jdbcType=VARCHAR}, #{staffId,jdbcType=BIGINT},
#{status,jdbcType=INTEGER}, #{content,jdbcType=VARCHAR}, #{attachmentIds,jdbcType=VARCHAR},
#{groupMsgDisabled,jdbcType=INTEGER}, #{pageNum,jdbcType=INTEGER}, #{pageSize,jdbcType=INTEGER},
#{tagId,jdbcType=BIGINT}, #{gender,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP},
#{updateTime,jdbcType=TIMESTAMP})
insert into we_com_special_pre_send_message
id,
pre_send_date,
staff_id,
`status`,
content,
attachment_ids,
group_msg_disabled,
page_num,
page_size,
tag_id,
gender,
create_time,
update_time,
#{id,jdbcType=BIGINT},
#{preSendDate,jdbcType=VARCHAR},
#{staffId,jdbcType=BIGINT},
#{status,jdbcType=INTEGER},
#{content,jdbcType=VARCHAR},
#{attachmentIds,jdbcType=VARCHAR},
#{groupMsgDisabled,jdbcType=INTEGER},
#{pageNum,jdbcType=INTEGER},
#{pageSize,jdbcType=INTEGER},
#{tagId,jdbcType=BIGINT},
#{gender,jdbcType=INTEGER},
#{createTime,jdbcType=TIMESTAMP},
#{updateTime,jdbcType=TIMESTAMP},
update we_com_special_pre_send_message
id = #{record.id,jdbcType=BIGINT},
pre_send_date = #{record.preSendDate,jdbcType=VARCHAR},
staff_id = #{record.staffId,jdbcType=BIGINT},
`status` = #{record.status,jdbcType=INTEGER},
content = #{record.content,jdbcType=VARCHAR},
attachment_ids = #{record.attachmentIds,jdbcType=VARCHAR},
group_msg_disabled = #{record.groupMsgDisabled,jdbcType=INTEGER},
page_num = #{record.pageNum,jdbcType=INTEGER},
page_size = #{record.pageSize,jdbcType=INTEGER},
tag_id = #{record.tagId,jdbcType=BIGINT},
gender = #{record.gender,jdbcType=INTEGER},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
update we_com_special_pre_send_message
set id = #{record.id,jdbcType=BIGINT},
pre_send_date = #{record.preSendDate,jdbcType=VARCHAR},
staff_id = #{record.staffId,jdbcType=BIGINT},
`status` = #{record.status,jdbcType=INTEGER},
content = #{record.content,jdbcType=VARCHAR},
attachment_ids = #{record.attachmentIds,jdbcType=VARCHAR},
group_msg_disabled = #{record.groupMsgDisabled,jdbcType=INTEGER},
page_num = #{record.pageNum,jdbcType=INTEGER},
page_size = #{record.pageSize,jdbcType=INTEGER},
tag_id = #{record.tagId,jdbcType=BIGINT},
gender = #{record.gender,jdbcType=INTEGER},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
update_time = #{record.updateTime,jdbcType=TIMESTAMP}
update we_com_special_pre_send_message
pre_send_date = #{preSendDate,jdbcType=VARCHAR},
staff_id = #{staffId,jdbcType=BIGINT},
`status` = #{status,jdbcType=INTEGER},
content = #{content,jdbcType=VARCHAR},
attachment_ids = #{attachmentIds,jdbcType=VARCHAR},
group_msg_disabled = #{groupMsgDisabled,jdbcType=INTEGER},
page_num = #{pageNum,jdbcType=INTEGER},
page_size = #{pageSize,jdbcType=INTEGER},
tag_id = #{tagId,jdbcType=BIGINT},
gender = #{gender,jdbcType=INTEGER},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP},
where id = #{id,jdbcType=BIGINT}
update we_com_special_pre_send_message
set pre_send_date = #{preSendDate,jdbcType=VARCHAR},
staff_id = #{staffId,jdbcType=BIGINT},
`status` = #{status,jdbcType=INTEGER},
content = #{content,jdbcType=VARCHAR},
attachment_ids = #{attachmentIds,jdbcType=VARCHAR},
group_msg_disabled = #{groupMsgDisabled,jdbcType=INTEGER},
page_num = #{pageNum,jdbcType=INTEGER},
page_size = #{pageSize,jdbcType=INTEGER},
tag_id = #{tagId,jdbcType=BIGINT},
gender = #{gender,jdbcType=INTEGER},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP}
where id = #{id,jdbcType=BIGINT}