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, merchant_id, pic_url, create_time, update_time, is_delete
delete from tb_merchant_real_picture
where id = #{id,jdbcType=INTEGER}
delete from tb_merchant_real_picture
SELECT LAST_INSERT_ID()
insert into tb_merchant_real_picture (merchant_id, pic_url, create_time,
update_time, is_delete)
values (#{merchantId,jdbcType=INTEGER}, #{picUrl,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP},
#{updateTime,jdbcType=TIMESTAMP}, #{isDelete,jdbcType=CHAR})
SELECT LAST_INSERT_ID()
insert into tb_merchant_real_picture
merchant_id,
pic_url,
create_time,
update_time,
is_delete,
#{merchantId,jdbcType=INTEGER},
#{picUrl,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP},
#{updateTime,jdbcType=TIMESTAMP},
#{isDelete,jdbcType=CHAR},
update tb_merchant_real_picture
id = #{record.id,jdbcType=INTEGER},
merchant_id = #{record.merchantId,jdbcType=INTEGER},
pic_url = #{record.picUrl,jdbcType=VARCHAR},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
is_delete = #{record.isDelete,jdbcType=CHAR},
update tb_merchant_real_picture
set id = #{record.id,jdbcType=INTEGER},
merchant_id = #{record.merchantId,jdbcType=INTEGER},
pic_url = #{record.picUrl,jdbcType=VARCHAR},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
is_delete = #{record.isDelete,jdbcType=CHAR}
update tb_merchant_real_picture
merchant_id = #{merchantId,jdbcType=INTEGER},
pic_url = #{picUrl,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP},
is_delete = #{isDelete,jdbcType=CHAR},
where id = #{id,jdbcType=INTEGER}
update tb_merchant_real_picture
set merchant_id = #{merchantId,jdbcType=INTEGER},
pic_url = #{picUrl,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP},
is_delete = #{isDelete,jdbcType=CHAR}
where id = #{id,jdbcType=INTEGER}