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, charge_type, charger, account, time, seq_num, parking_log_id
delete from park_pay_log
where id = #{id,jdbcType=BIGINT}
delete from park_pay_log
SELECT LAST_INSERT_ID()
insert into park_pay_log (charge_type, charger, account,
time, seq_num, parking_log_id
)
values (#{chargeType,jdbcType=INTEGER}, #{charger,jdbcType=VARCHAR}, #{account,jdbcType=DECIMAL},
#{time,jdbcType=TIMESTAMP}, #{seqNum,jdbcType=VARCHAR}, #{parkingLogId,jdbcType=BIGINT}
)
SELECT LAST_INSERT_ID()
insert into park_pay_log
charge_type,
charger,
account,
time,
seq_num,
parking_log_id,
#{chargeType,jdbcType=INTEGER},
#{charger,jdbcType=VARCHAR},
#{account,jdbcType=DECIMAL},
#{time,jdbcType=TIMESTAMP},
#{seqNum,jdbcType=VARCHAR},
#{parkingLogId,jdbcType=BIGINT},
update park_pay_log
id = #{record.id,jdbcType=BIGINT},
charge_type = #{record.chargeType,jdbcType=INTEGER},
charger = #{record.charger,jdbcType=VARCHAR},
account = #{record.account,jdbcType=DECIMAL},
time = #{record.time,jdbcType=TIMESTAMP},
seq_num = #{record.seqNum,jdbcType=VARCHAR},
parking_log_id = #{record.parkingLogId,jdbcType=BIGINT},
update park_pay_log
set id = #{record.id,jdbcType=BIGINT},
charge_type = #{record.chargeType,jdbcType=INTEGER},
charger = #{record.charger,jdbcType=VARCHAR},
account = #{record.account,jdbcType=DECIMAL},
time = #{record.time,jdbcType=TIMESTAMP},
seq_num = #{record.seqNum,jdbcType=VARCHAR},
parking_log_id = #{record.parkingLogId,jdbcType=BIGINT}
update park_pay_log
charge_type = #{chargeType,jdbcType=INTEGER},
charger = #{charger,jdbcType=VARCHAR},
account = #{account,jdbcType=DECIMAL},
time = #{time,jdbcType=TIMESTAMP},
seq_num = #{seqNum,jdbcType=VARCHAR},
parking_log_id = #{parkingLogId,jdbcType=BIGINT},
where id = #{id,jdbcType=BIGINT}
update park_pay_log
set charge_type = #{chargeType,jdbcType=INTEGER},
charger = #{charger,jdbcType=VARCHAR},
account = #{account,jdbcType=DECIMAL},
time = #{time,jdbcType=TIMESTAMP},
seq_num = #{seqNum,jdbcType=VARCHAR},
parking_log_id = #{parkingLogId,jdbcType=BIGINT}
where id = #{id,jdbcType=BIGINT}