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, voucher_id, use_uid, use_time, receive_time, status
delete from jt_voucher_detail
where id = #{id,jdbcType=VARCHAR}
delete from jt_voucher_detail
insert into jt_voucher_detail (id, voucher_id, use_uid,
use_time, receive_time, status
)
values (#{id,jdbcType=VARCHAR}, #{voucherId,jdbcType=VARCHAR}, #{useUid,jdbcType=VARCHAR},
#{useTime,jdbcType=TIMESTAMP}, #{receiveTime,jdbcType=TIMESTAMP}, #{status,jdbcType=INTEGER}
)
insert into jt_voucher_detail
id,
voucher_id,
use_uid,
use_time,
receive_time,
status,
#{id,jdbcType=VARCHAR},
#{voucherId,jdbcType=VARCHAR},
#{useUid,jdbcType=VARCHAR},
#{useTime,jdbcType=TIMESTAMP},
#{receiveTime,jdbcType=TIMESTAMP},
#{status,jdbcType=INTEGER},
update jt_voucher_detail
id = #{record.id,jdbcType=VARCHAR},
voucher_id = #{record.voucherId,jdbcType=VARCHAR},
use_uid = #{record.useUid,jdbcType=VARCHAR},
use_time = #{record.useTime,jdbcType=TIMESTAMP},
receive_time = #{record.receiveTime,jdbcType=TIMESTAMP},
status = #{record.status,jdbcType=INTEGER},
update jt_voucher_detail
set id = #{record.id,jdbcType=VARCHAR},
voucher_id = #{record.voucherId,jdbcType=VARCHAR},
use_uid = #{record.useUid,jdbcType=VARCHAR},
use_time = #{record.useTime,jdbcType=TIMESTAMP},
receive_time = #{record.receiveTime,jdbcType=TIMESTAMP},
status = #{record.status,jdbcType=INTEGER}
update jt_voucher_detail
voucher_id = #{voucherId,jdbcType=VARCHAR},
use_uid = #{useUid,jdbcType=VARCHAR},
use_time = #{useTime,jdbcType=TIMESTAMP},
receive_time = #{receiveTime,jdbcType=TIMESTAMP},
status = #{status,jdbcType=INTEGER},
where id = #{id,jdbcType=VARCHAR}
update jt_voucher_detail
set voucher_id = #{voucherId,jdbcType=VARCHAR},
use_uid = #{useUid,jdbcType=VARCHAR},
use_time = #{useTime,jdbcType=TIMESTAMP},
receive_time = #{receiveTime,jdbcType=TIMESTAMP},
status = #{status,jdbcType=INTEGER}
where id = #{id,jdbcType=VARCHAR}