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, member_id, product_id, member_phone, product_name, subscribe_time, send_time
delete from sms_flash_promotion_log
where id = #{id,jdbcType=INTEGER}
delete from sms_flash_promotion_log
SELECT LAST_INSERT_ID()
insert into sms_flash_promotion_log (member_id, product_id, member_phone,
product_name, subscribe_time, send_time
)
values (#{memberId,jdbcType=INTEGER}, #{productId,jdbcType=BIGINT}, #{memberPhone,jdbcType=VARCHAR},
#{productName,jdbcType=VARCHAR}, #{subscribeTime,jdbcType=TIMESTAMP}, #{sendTime,jdbcType=TIMESTAMP}
)
SELECT LAST_INSERT_ID()
insert into sms_flash_promotion_log
member_id,
product_id,
member_phone,
product_name,
subscribe_time,
send_time,
#{memberId,jdbcType=INTEGER},
#{productId,jdbcType=BIGINT},
#{memberPhone,jdbcType=VARCHAR},
#{productName,jdbcType=VARCHAR},
#{subscribeTime,jdbcType=TIMESTAMP},
#{sendTime,jdbcType=TIMESTAMP},
update sms_flash_promotion_log
id = #{record.id,jdbcType=INTEGER},
member_id = #{record.memberId,jdbcType=INTEGER},
product_id = #{record.productId,jdbcType=BIGINT},
member_phone = #{record.memberPhone,jdbcType=VARCHAR},
product_name = #{record.productName,jdbcType=VARCHAR},
subscribe_time = #{record.subscribeTime,jdbcType=TIMESTAMP},
send_time = #{record.sendTime,jdbcType=TIMESTAMP},
update sms_flash_promotion_log
set id = #{record.id,jdbcType=INTEGER},
member_id = #{record.memberId,jdbcType=INTEGER},
product_id = #{record.productId,jdbcType=BIGINT},
member_phone = #{record.memberPhone,jdbcType=VARCHAR},
product_name = #{record.productName,jdbcType=VARCHAR},
subscribe_time = #{record.subscribeTime,jdbcType=TIMESTAMP},
send_time = #{record.sendTime,jdbcType=TIMESTAMP}
update sms_flash_promotion_log
member_id = #{memberId,jdbcType=INTEGER},
product_id = #{productId,jdbcType=BIGINT},
member_phone = #{memberPhone,jdbcType=VARCHAR},
product_name = #{productName,jdbcType=VARCHAR},
subscribe_time = #{subscribeTime,jdbcType=TIMESTAMP},
send_time = #{sendTime,jdbcType=TIMESTAMP},
where id = #{id,jdbcType=INTEGER}
update sms_flash_promotion_log
set member_id = #{memberId,jdbcType=INTEGER},
product_id = #{productId,jdbcType=BIGINT},
member_phone = #{memberPhone,jdbcType=VARCHAR},
product_name = #{productName,jdbcType=VARCHAR},
subscribe_time = #{subscribeTime,jdbcType=TIMESTAMP},
send_time = #{sendTime,jdbcType=TIMESTAMP}
where id = #{id,jdbcType=INTEGER}