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, name, mobile, content, intention, source_type, source_id, read, create_time
delete from sc_message
where id = #{id,jdbcType=VARCHAR}
delete from sc_message
insert into sc_message (id, name, mobile,
content, intention, source_type,
source_id, read, create_time
)
values (#{id,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, #{mobile,jdbcType=VARCHAR},
#{content,jdbcType=VARCHAR}, #{intention,jdbcType=INTEGER}, #{sourceType,jdbcType=INTEGER},
#{sourceId,jdbcType=VARCHAR}, #{read,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}
)
insert into sc_message
id,
name,
mobile,
content,
intention,
source_type,
source_id,
read,
create_time,
#{id,jdbcType=VARCHAR},
#{name,jdbcType=VARCHAR},
#{mobile,jdbcType=VARCHAR},
#{content,jdbcType=VARCHAR},
#{intention,jdbcType=INTEGER},
#{sourceType,jdbcType=INTEGER},
#{sourceId,jdbcType=VARCHAR},
#{read,jdbcType=INTEGER},
#{createTime,jdbcType=TIMESTAMP},
update sc_message
id = #{record.id,jdbcType=VARCHAR},
name = #{record.name,jdbcType=VARCHAR},
mobile = #{record.mobile,jdbcType=VARCHAR},
content = #{record.content,jdbcType=VARCHAR},
intention = #{record.intention,jdbcType=INTEGER},
source_type = #{record.sourceType,jdbcType=INTEGER},
source_id = #{record.sourceId,jdbcType=VARCHAR},
read = #{record.read,jdbcType=INTEGER},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
update sc_message
set id = #{record.id,jdbcType=VARCHAR},
name = #{record.name,jdbcType=VARCHAR},
mobile = #{record.mobile,jdbcType=VARCHAR},
content = #{record.content,jdbcType=VARCHAR},
intention = #{record.intention,jdbcType=INTEGER},
source_type = #{record.sourceType,jdbcType=INTEGER},
source_id = #{record.sourceId,jdbcType=VARCHAR},
read = #{record.read,jdbcType=INTEGER},
create_time = #{record.createTime,jdbcType=TIMESTAMP}
update sc_message
name = #{name,jdbcType=VARCHAR},
mobile = #{mobile,jdbcType=VARCHAR},
content = #{content,jdbcType=VARCHAR},
intention = #{intention,jdbcType=INTEGER},
source_type = #{sourceType,jdbcType=INTEGER},
source_id = #{sourceId,jdbcType=VARCHAR},
read = #{read,jdbcType=INTEGER},
create_time = #{createTime,jdbcType=TIMESTAMP},
where id = #{id,jdbcType=VARCHAR}
update sc_message
set name = #{name,jdbcType=VARCHAR},
mobile = #{mobile,jdbcType=VARCHAR},
content = #{content,jdbcType=VARCHAR},
intention = #{intention,jdbcType=INTEGER},
source_type = #{sourceType,jdbcType=INTEGER},
source_id = #{sourceId,jdbcType=VARCHAR},
read = #{read,jdbcType=INTEGER},
create_time = #{createTime,jdbcType=TIMESTAMP}
where id = #{id,jdbcType=VARCHAR}