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, create_time, consumer_id, message_id, delete_sign, read_time
delete from message_consumer
where id = #{id,jdbcType=VARCHAR}
delete from message_consumer
insert into message_consumer (id, create_time, consumer_id,
message_id, delete_sign, read_time
)
values (#{id,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{consumerId,jdbcType=VARCHAR},
#{messageId,jdbcType=VARCHAR}, #{deleteSign,jdbcType=BIT}, #{readTime,jdbcType=TIMESTAMP}
)
insert into message_consumer
id,
create_time,
consumer_id,
message_id,
delete_sign,
read_time,
#{id,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP},
#{consumerId,jdbcType=VARCHAR},
#{messageId,jdbcType=VARCHAR},
#{deleteSign,jdbcType=BIT},
#{readTime,jdbcType=TIMESTAMP},
update message_consumer
id = #{record.id,jdbcType=VARCHAR},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
consumer_id = #{record.consumerId,jdbcType=VARCHAR},
message_id = #{record.messageId,jdbcType=VARCHAR},
delete_sign = #{record.deleteSign,jdbcType=BIT},
read_time = #{record.readTime,jdbcType=TIMESTAMP},
update message_consumer
set id = #{record.id,jdbcType=VARCHAR},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
consumer_id = #{record.consumerId,jdbcType=VARCHAR},
message_id = #{record.messageId,jdbcType=VARCHAR},
delete_sign = #{record.deleteSign,jdbcType=BIT},
read_time = #{record.readTime,jdbcType=TIMESTAMP}
update message_consumer
create_time = #{createTime,jdbcType=TIMESTAMP},
consumer_id = #{consumerId,jdbcType=VARCHAR},
message_id = #{messageId,jdbcType=VARCHAR},
delete_sign = #{deleteSign,jdbcType=BIT},
read_time = #{readTime,jdbcType=TIMESTAMP},
where id = #{id,jdbcType=VARCHAR}
update message_consumer
set create_time = #{createTime,jdbcType=TIMESTAMP},
consumer_id = #{consumerId,jdbcType=VARCHAR},
message_id = #{messageId,jdbcType=VARCHAR},
delete_sign = #{deleteSign,jdbcType=BIT},
read_time = #{readTime,jdbcType=TIMESTAMP}
where id = #{id,jdbcType=VARCHAR}