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, out_arm_code, calc_charge, charge_item_cnt, in_time, parking_duration, parking_charge,
out_time, charge_taker, vpl_owner, park_code, vpl_type, record_id, vpl_number, create_time,
cardno, total_charge, from_type, free_berths, pl_name, pl_no, is_fixed_car
delete from outpark_log
where id = #{id,jdbcType=BIGINT}
delete from outpark_log
SELECT LAST_INSERT_ID()
insert into outpark_log (out_arm_code, calc_charge, charge_item_cnt,
in_time, parking_duration, parking_charge,
out_time, charge_taker, vpl_owner,
park_code, vpl_type, record_id,
vpl_number, create_time, cardno,
total_charge, from_type, free_berths,
pl_name, pl_no, is_fixed_car
)
values (#{outArmCode,jdbcType=VARCHAR}, #{calcCharge,jdbcType=DECIMAL}, #{chargeItemCnt,jdbcType=INTEGER},
#{inTime,jdbcType=TIMESTAMP}, #{parkingDuration,jdbcType=BIGINT}, #{parkingCharge,jdbcType=DECIMAL},
#{outTime,jdbcType=TIMESTAMP}, #{chargeTaker,jdbcType=VARCHAR}, #{vplOwner,jdbcType=VARCHAR},
#{parkCode,jdbcType=VARCHAR}, #{vplType,jdbcType=VARCHAR}, #{recordId,jdbcType=VARCHAR},
#{vplNumber,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{cardno,jdbcType=VARCHAR},
#{totalCharge,jdbcType=DECIMAL}, #{fromType,jdbcType=INTEGER}, #{freeBerths,jdbcType=INTEGER},
#{plName,jdbcType=VARCHAR}, #{plNo,jdbcType=VARCHAR}, #{isFixedCar,jdbcType=CHAR}
)
SELECT LAST_INSERT_ID()
insert into outpark_log
out_arm_code,
calc_charge,
charge_item_cnt,
in_time,
parking_duration,
parking_charge,
out_time,
charge_taker,
vpl_owner,
park_code,
vpl_type,
record_id,
vpl_number,
create_time,
cardno,
total_charge,
from_type,
free_berths,
pl_name,
pl_no,
is_fixed_car,
#{outArmCode,jdbcType=VARCHAR},
#{calcCharge,jdbcType=DECIMAL},
#{chargeItemCnt,jdbcType=INTEGER},
#{inTime,jdbcType=TIMESTAMP},
#{parkingDuration,jdbcType=BIGINT},
#{parkingCharge,jdbcType=DECIMAL},
#{outTime,jdbcType=TIMESTAMP},
#{chargeTaker,jdbcType=VARCHAR},
#{vplOwner,jdbcType=VARCHAR},
#{parkCode,jdbcType=VARCHAR},
#{vplType,jdbcType=VARCHAR},
#{recordId,jdbcType=VARCHAR},
#{vplNumber,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP},
#{cardno,jdbcType=VARCHAR},
#{totalCharge,jdbcType=DECIMAL},
#{fromType,jdbcType=INTEGER},
#{freeBerths,jdbcType=INTEGER},
#{plName,jdbcType=VARCHAR},
#{plNo,jdbcType=VARCHAR},
#{isFixedCar,jdbcType=CHAR},
update outpark_log
id = #{record.id,jdbcType=BIGINT},
out_arm_code = #{record.outArmCode,jdbcType=VARCHAR},
calc_charge = #{record.calcCharge,jdbcType=DECIMAL},
charge_item_cnt = #{record.chargeItemCnt,jdbcType=INTEGER},
in_time = #{record.inTime,jdbcType=TIMESTAMP},
parking_duration = #{record.parkingDuration,jdbcType=BIGINT},
parking_charge = #{record.parkingCharge,jdbcType=DECIMAL},
out_time = #{record.outTime,jdbcType=TIMESTAMP},
charge_taker = #{record.chargeTaker,jdbcType=VARCHAR},
vpl_owner = #{record.vplOwner,jdbcType=VARCHAR},
park_code = #{record.parkCode,jdbcType=VARCHAR},
vpl_type = #{record.vplType,jdbcType=VARCHAR},
record_id = #{record.recordId,jdbcType=VARCHAR},
vpl_number = #{record.vplNumber,jdbcType=VARCHAR},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
cardno = #{record.cardno,jdbcType=VARCHAR},
total_charge = #{record.totalCharge,jdbcType=DECIMAL},
from_type = #{record.fromType,jdbcType=INTEGER},
free_berths = #{record.freeBerths,jdbcType=INTEGER},
pl_name = #{record.plName,jdbcType=VARCHAR},
pl_no = #{record.plNo,jdbcType=VARCHAR},
is_fixed_car = #{record.isFixedCar,jdbcType=CHAR},
update outpark_log
set id = #{record.id,jdbcType=BIGINT},
out_arm_code = #{record.outArmCode,jdbcType=VARCHAR},
calc_charge = #{record.calcCharge,jdbcType=DECIMAL},
charge_item_cnt = #{record.chargeItemCnt,jdbcType=INTEGER},
in_time = #{record.inTime,jdbcType=TIMESTAMP},
parking_duration = #{record.parkingDuration,jdbcType=BIGINT},
parking_charge = #{record.parkingCharge,jdbcType=DECIMAL},
out_time = #{record.outTime,jdbcType=TIMESTAMP},
charge_taker = #{record.chargeTaker,jdbcType=VARCHAR},
vpl_owner = #{record.vplOwner,jdbcType=VARCHAR},
park_code = #{record.parkCode,jdbcType=VARCHAR},
vpl_type = #{record.vplType,jdbcType=VARCHAR},
record_id = #{record.recordId,jdbcType=VARCHAR},
vpl_number = #{record.vplNumber,jdbcType=VARCHAR},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
cardno = #{record.cardno,jdbcType=VARCHAR},
total_charge = #{record.totalCharge,jdbcType=DECIMAL},
from_type = #{record.fromType,jdbcType=INTEGER},
free_berths = #{record.freeBerths,jdbcType=INTEGER},
pl_name = #{record.plName,jdbcType=VARCHAR},
pl_no = #{record.plNo,jdbcType=VARCHAR},
is_fixed_car = #{record.isFixedCar,jdbcType=CHAR}
update outpark_log
out_arm_code = #{outArmCode,jdbcType=VARCHAR},
calc_charge = #{calcCharge,jdbcType=DECIMAL},
charge_item_cnt = #{chargeItemCnt,jdbcType=INTEGER},
in_time = #{inTime,jdbcType=TIMESTAMP},
parking_duration = #{parkingDuration,jdbcType=BIGINT},
parking_charge = #{parkingCharge,jdbcType=DECIMAL},
out_time = #{outTime,jdbcType=TIMESTAMP},
charge_taker = #{chargeTaker,jdbcType=VARCHAR},
vpl_owner = #{vplOwner,jdbcType=VARCHAR},
park_code = #{parkCode,jdbcType=VARCHAR},
vpl_type = #{vplType,jdbcType=VARCHAR},
record_id = #{recordId,jdbcType=VARCHAR},
vpl_number = #{vplNumber,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
cardno = #{cardno,jdbcType=VARCHAR},
total_charge = #{totalCharge,jdbcType=DECIMAL},
from_type = #{fromType,jdbcType=INTEGER},
free_berths = #{freeBerths,jdbcType=INTEGER},
pl_name = #{plName,jdbcType=VARCHAR},
pl_no = #{plNo,jdbcType=VARCHAR},
is_fixed_car = #{isFixedCar,jdbcType=CHAR},
where id = #{id,jdbcType=BIGINT}
update outpark_log
set out_arm_code = #{outArmCode,jdbcType=VARCHAR},
calc_charge = #{calcCharge,jdbcType=DECIMAL},
charge_item_cnt = #{chargeItemCnt,jdbcType=INTEGER},
in_time = #{inTime,jdbcType=TIMESTAMP},
parking_duration = #{parkingDuration,jdbcType=BIGINT},
parking_charge = #{parkingCharge,jdbcType=DECIMAL},
out_time = #{outTime,jdbcType=TIMESTAMP},
charge_taker = #{chargeTaker,jdbcType=VARCHAR},
vpl_owner = #{vplOwner,jdbcType=VARCHAR},
park_code = #{parkCode,jdbcType=VARCHAR},
vpl_type = #{vplType,jdbcType=VARCHAR},
record_id = #{recordId,jdbcType=VARCHAR},
vpl_number = #{vplNumber,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
cardno = #{cardno,jdbcType=VARCHAR},
total_charge = #{totalCharge,jdbcType=DECIMAL},
from_type = #{fromType,jdbcType=INTEGER},
free_berths = #{freeBerths,jdbcType=INTEGER},
pl_name = #{plName,jdbcType=VARCHAR},
pl_no = #{plNo,jdbcType=VARCHAR},
is_fixed_car = #{isFixedCar,jdbcType=CHAR}
where id = #{id,jdbcType=BIGINT}