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}
msg_id, user_id, type_id, `status`, param, create_time, read_time, content
delete from sys_msg
where msg_id = #{msgId,jdbcType=BIGINT}
delete from sys_msg
insert into sys_msg (msg_id, user_id, type_id,
`status`, param, create_time,
read_time, content)
values (#{msgId,jdbcType=BIGINT}, #{userId,jdbcType=BIGINT}, #{typeId,jdbcType=BIGINT},
#{status,jdbcType=BIT}, #{param,jdbcType=VARCHAR}, #{createTime,jdbcType=BIGINT},
#{readTime,jdbcType=BIGINT}, #{content,jdbcType=VARCHAR})
insert into sys_msg
msg_id,
user_id,
type_id,
`status`,
param,
create_time,
read_time,
content,
#{msgId,jdbcType=BIGINT},
#{userId,jdbcType=BIGINT},
#{typeId,jdbcType=BIGINT},
#{status,jdbcType=BIT},
#{param,jdbcType=VARCHAR},
#{createTime,jdbcType=BIGINT},
#{readTime,jdbcType=BIGINT},
#{content,jdbcType=VARCHAR},
update sys_msg
msg_id = #{record.msgId,jdbcType=BIGINT},
user_id = #{record.userId,jdbcType=BIGINT},
type_id = #{record.typeId,jdbcType=BIGINT},
`status` = #{record.status,jdbcType=BIT},
param = #{record.param,jdbcType=VARCHAR},
create_time = #{record.createTime,jdbcType=BIGINT},
read_time = #{record.readTime,jdbcType=BIGINT},
content = #{record.content,jdbcType=VARCHAR},
update sys_msg
set msg_id = #{record.msgId,jdbcType=BIGINT},
user_id = #{record.userId,jdbcType=BIGINT},
type_id = #{record.typeId,jdbcType=BIGINT},
`status` = #{record.status,jdbcType=BIT},
param = #{record.param,jdbcType=VARCHAR},
create_time = #{record.createTime,jdbcType=BIGINT},
read_time = #{record.readTime,jdbcType=BIGINT},
content = #{record.content,jdbcType=VARCHAR}
update sys_msg
user_id = #{userId,jdbcType=BIGINT},
type_id = #{typeId,jdbcType=BIGINT},
`status` = #{status,jdbcType=BIT},
param = #{param,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=BIGINT},
read_time = #{readTime,jdbcType=BIGINT},
content = #{content,jdbcType=VARCHAR},
where msg_id = #{msgId,jdbcType=BIGINT}
update sys_msg
set user_id = #{userId,jdbcType=BIGINT},
type_id = #{typeId,jdbcType=BIGINT},
`status` = #{status,jdbcType=BIT},
param = #{param,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=BIGINT},
read_time = #{readTime,jdbcType=BIGINT},
content = #{content,jdbcType=VARCHAR}
where msg_id = #{msgId,jdbcType=BIGINT}