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, check_date, check_date_str, begin_date, end_date, org_id, pl_no, pl_name, berth_num,
eqp_num, berth_no_range, berth_area_range, bill_start_time, bill_end_time, duty_charger_num,
pl_type, pl_type_str, night_bill_berth_no_range, total_fee, act_fee, avg_hour_total_fee,
avg_hour_act_fee, avg_order_total_fee, avg_order_act_fee, avg_berth_total_fee, avg_berth_act_fee,
order_num_of_15min, order_num_all, order_num_pay, park_duration_of_15min, park_duration_hour_of_15min,
park_duration_all, park_duration_hour_all, park_duration_pay, data_state, create_emp_id,
create_emp_name, create_date, modfiy_emp_id, modfiy_emp_name, modfiy_date, remark
delete from income_berth_report
where id = #{id,jdbcType=BIGINT}
delete from income_berth_report
SELECT LAST_INSERT_ID()
insert into income_berth_report (check_date, check_date_str, begin_date,
end_date, org_id, pl_no,
pl_name, berth_num, eqp_num,
berth_no_range, berth_area_range, bill_start_time,
bill_end_time, duty_charger_num, pl_type,
pl_type_str, night_bill_berth_no_range, total_fee,
act_fee, avg_hour_total_fee, avg_hour_act_fee,
avg_order_total_fee, avg_order_act_fee, avg_berth_total_fee,
avg_berth_act_fee, order_num_of_15min, order_num_all,
order_num_pay, park_duration_of_15min, park_duration_hour_of_15min,
park_duration_all, park_duration_hour_all, park_duration_pay,
data_state, create_emp_id, create_emp_name,
create_date, modfiy_emp_id, modfiy_emp_name,
modfiy_date, remark)
values (#{checkDate,jdbcType=DATE}, #{checkDateStr,jdbcType=VARCHAR}, #{beginDate,jdbcType=TIMESTAMP},
#{endDate,jdbcType=TIMESTAMP}, #{orgId,jdbcType=VARCHAR}, #{plNo,jdbcType=VARCHAR},
#{plName,jdbcType=VARCHAR}, #{berthNum,jdbcType=INTEGER}, #{eqpNum,jdbcType=INTEGER},
#{berthNoRange,jdbcType=VARCHAR}, #{berthAreaRange,jdbcType=VARCHAR}, #{billStartTime,jdbcType=VARCHAR},
#{billEndTime,jdbcType=VARCHAR}, #{dutyChargerNum,jdbcType=INTEGER}, #{plType,jdbcType=INTEGER},
#{plTypeStr,jdbcType=VARCHAR}, #{nightBillBerthNoRange,jdbcType=VARCHAR}, #{totalFee,jdbcType=BIGINT},
#{actFee,jdbcType=BIGINT}, #{avgHourTotalFee,jdbcType=BIGINT}, #{avgHourActFee,jdbcType=BIGINT},
#{avgOrderTotalFee,jdbcType=BIGINT}, #{avgOrderActFee,jdbcType=BIGINT}, #{avgBerthTotalFee,jdbcType=BIGINT},
#{avgBerthActFee,jdbcType=BIGINT}, #{orderNumOf15min,jdbcType=INTEGER}, #{orderNumAll,jdbcType=INTEGER},
#{orderNumPay,jdbcType=INTEGER}, #{parkDurationOf15min,jdbcType=BIGINT}, #{parkDurationHourOf15min,jdbcType=BIGINT},
#{parkDurationAll,jdbcType=BIGINT}, #{parkDurationHourAll,jdbcType=BIGINT}, #{parkDurationPay,jdbcType=BIGINT},
#{dataState,jdbcType=INTEGER}, #{createEmpId,jdbcType=VARCHAR}, #{createEmpName,jdbcType=VARCHAR},
#{createDate,jdbcType=TIMESTAMP}, #{modfiyEmpId,jdbcType=VARCHAR}, #{modfiyEmpName,jdbcType=VARCHAR},
#{modfiyDate,jdbcType=TIMESTAMP}, #{remark,jdbcType=VARCHAR})
SELECT LAST_INSERT_ID()
insert into income_berth_report
check_date,
check_date_str,
begin_date,
end_date,
org_id,
pl_no,
pl_name,
berth_num,
eqp_num,
berth_no_range,
berth_area_range,
bill_start_time,
bill_end_time,
duty_charger_num,
pl_type,
pl_type_str,
night_bill_berth_no_range,
total_fee,
act_fee,
avg_hour_total_fee,
avg_hour_act_fee,
avg_order_total_fee,
avg_order_act_fee,
avg_berth_total_fee,
avg_berth_act_fee,
order_num_of_15min,
order_num_all,
order_num_pay,
park_duration_of_15min,
park_duration_hour_of_15min,
park_duration_all,
park_duration_hour_all,
park_duration_pay,
data_state,
create_emp_id,
create_emp_name,
create_date,
modfiy_emp_id,
modfiy_emp_name,
modfiy_date,
remark,
#{checkDate,jdbcType=DATE},
#{checkDateStr,jdbcType=VARCHAR},
#{beginDate,jdbcType=TIMESTAMP},
#{endDate,jdbcType=TIMESTAMP},
#{orgId,jdbcType=VARCHAR},
#{plNo,jdbcType=VARCHAR},
#{plName,jdbcType=VARCHAR},
#{berthNum,jdbcType=INTEGER},
#{eqpNum,jdbcType=INTEGER},
#{berthNoRange,jdbcType=VARCHAR},
#{berthAreaRange,jdbcType=VARCHAR},
#{billStartTime,jdbcType=VARCHAR},
#{billEndTime,jdbcType=VARCHAR},
#{dutyChargerNum,jdbcType=INTEGER},
#{plType,jdbcType=INTEGER},
#{plTypeStr,jdbcType=VARCHAR},
#{nightBillBerthNoRange,jdbcType=VARCHAR},
#{totalFee,jdbcType=BIGINT},
#{actFee,jdbcType=BIGINT},
#{avgHourTotalFee,jdbcType=BIGINT},
#{avgHourActFee,jdbcType=BIGINT},
#{avgOrderTotalFee,jdbcType=BIGINT},
#{avgOrderActFee,jdbcType=BIGINT},
#{avgBerthTotalFee,jdbcType=BIGINT},
#{avgBerthActFee,jdbcType=BIGINT},
#{orderNumOf15min,jdbcType=INTEGER},
#{orderNumAll,jdbcType=INTEGER},
#{orderNumPay,jdbcType=INTEGER},
#{parkDurationOf15min,jdbcType=BIGINT},
#{parkDurationHourOf15min,jdbcType=BIGINT},
#{parkDurationAll,jdbcType=BIGINT},
#{parkDurationHourAll,jdbcType=BIGINT},
#{parkDurationPay,jdbcType=BIGINT},
#{dataState,jdbcType=INTEGER},
#{createEmpId,jdbcType=VARCHAR},
#{createEmpName,jdbcType=VARCHAR},
#{createDate,jdbcType=TIMESTAMP},
#{modfiyEmpId,jdbcType=VARCHAR},
#{modfiyEmpName,jdbcType=VARCHAR},
#{modfiyDate,jdbcType=TIMESTAMP},
#{remark,jdbcType=VARCHAR},
update income_berth_report
id = #{record.id,jdbcType=BIGINT},
check_date = #{record.checkDate,jdbcType=DATE},
check_date_str = #{record.checkDateStr,jdbcType=VARCHAR},
begin_date = #{record.beginDate,jdbcType=TIMESTAMP},
end_date = #{record.endDate,jdbcType=TIMESTAMP},
org_id = #{record.orgId,jdbcType=VARCHAR},
pl_no = #{record.plNo,jdbcType=VARCHAR},
pl_name = #{record.plName,jdbcType=VARCHAR},
berth_num = #{record.berthNum,jdbcType=INTEGER},
eqp_num = #{record.eqpNum,jdbcType=INTEGER},
berth_no_range = #{record.berthNoRange,jdbcType=VARCHAR},
berth_area_range = #{record.berthAreaRange,jdbcType=VARCHAR},
bill_start_time = #{record.billStartTime,jdbcType=VARCHAR},
bill_end_time = #{record.billEndTime,jdbcType=VARCHAR},
duty_charger_num = #{record.dutyChargerNum,jdbcType=INTEGER},
pl_type = #{record.plType,jdbcType=INTEGER},
pl_type_str = #{record.plTypeStr,jdbcType=VARCHAR},
night_bill_berth_no_range = #{record.nightBillBerthNoRange,jdbcType=VARCHAR},
total_fee = #{record.totalFee,jdbcType=BIGINT},
act_fee = #{record.actFee,jdbcType=BIGINT},
avg_hour_total_fee = #{record.avgHourTotalFee,jdbcType=BIGINT},
avg_hour_act_fee = #{record.avgHourActFee,jdbcType=BIGINT},
avg_order_total_fee = #{record.avgOrderTotalFee,jdbcType=BIGINT},
avg_order_act_fee = #{record.avgOrderActFee,jdbcType=BIGINT},
avg_berth_total_fee = #{record.avgBerthTotalFee,jdbcType=BIGINT},
avg_berth_act_fee = #{record.avgBerthActFee,jdbcType=BIGINT},
order_num_of_15min = #{record.orderNumOf15min,jdbcType=INTEGER},
order_num_all = #{record.orderNumAll,jdbcType=INTEGER},
order_num_pay = #{record.orderNumPay,jdbcType=INTEGER},
park_duration_of_15min = #{record.parkDurationOf15min,jdbcType=BIGINT},
park_duration_hour_of_15min = #{record.parkDurationHourOf15min,jdbcType=BIGINT},
park_duration_all = #{record.parkDurationAll,jdbcType=BIGINT},
park_duration_hour_all = #{record.parkDurationHourAll,jdbcType=BIGINT},
park_duration_pay = #{record.parkDurationPay,jdbcType=BIGINT},
data_state = #{record.dataState,jdbcType=INTEGER},
create_emp_id = #{record.createEmpId,jdbcType=VARCHAR},
create_emp_name = #{record.createEmpName,jdbcType=VARCHAR},
create_date = #{record.createDate,jdbcType=TIMESTAMP},
modfiy_emp_id = #{record.modfiyEmpId,jdbcType=VARCHAR},
modfiy_emp_name = #{record.modfiyEmpName,jdbcType=VARCHAR},
modfiy_date = #{record.modfiyDate,jdbcType=TIMESTAMP},
remark = #{record.remark,jdbcType=VARCHAR},
update income_berth_report
set id = #{record.id,jdbcType=BIGINT},
check_date = #{record.checkDate,jdbcType=DATE},
check_date_str = #{record.checkDateStr,jdbcType=VARCHAR},
begin_date = #{record.beginDate,jdbcType=TIMESTAMP},
end_date = #{record.endDate,jdbcType=TIMESTAMP},
org_id = #{record.orgId,jdbcType=VARCHAR},
pl_no = #{record.plNo,jdbcType=VARCHAR},
pl_name = #{record.plName,jdbcType=VARCHAR},
berth_num = #{record.berthNum,jdbcType=INTEGER},
eqp_num = #{record.eqpNum,jdbcType=INTEGER},
berth_no_range = #{record.berthNoRange,jdbcType=VARCHAR},
berth_area_range = #{record.berthAreaRange,jdbcType=VARCHAR},
bill_start_time = #{record.billStartTime,jdbcType=VARCHAR},
bill_end_time = #{record.billEndTime,jdbcType=VARCHAR},
duty_charger_num = #{record.dutyChargerNum,jdbcType=INTEGER},
pl_type = #{record.plType,jdbcType=INTEGER},
pl_type_str = #{record.plTypeStr,jdbcType=VARCHAR},
night_bill_berth_no_range = #{record.nightBillBerthNoRange,jdbcType=VARCHAR},
total_fee = #{record.totalFee,jdbcType=BIGINT},
act_fee = #{record.actFee,jdbcType=BIGINT},
avg_hour_total_fee = #{record.avgHourTotalFee,jdbcType=BIGINT},
avg_hour_act_fee = #{record.avgHourActFee,jdbcType=BIGINT},
avg_order_total_fee = #{record.avgOrderTotalFee,jdbcType=BIGINT},
avg_order_act_fee = #{record.avgOrderActFee,jdbcType=BIGINT},
avg_berth_total_fee = #{record.avgBerthTotalFee,jdbcType=BIGINT},
avg_berth_act_fee = #{record.avgBerthActFee,jdbcType=BIGINT},
order_num_of_15min = #{record.orderNumOf15min,jdbcType=INTEGER},
order_num_all = #{record.orderNumAll,jdbcType=INTEGER},
order_num_pay = #{record.orderNumPay,jdbcType=INTEGER},
park_duration_of_15min = #{record.parkDurationOf15min,jdbcType=BIGINT},
park_duration_hour_of_15min = #{record.parkDurationHourOf15min,jdbcType=BIGINT},
park_duration_all = #{record.parkDurationAll,jdbcType=BIGINT},
park_duration_hour_all = #{record.parkDurationHourAll,jdbcType=BIGINT},
park_duration_pay = #{record.parkDurationPay,jdbcType=BIGINT},
data_state = #{record.dataState,jdbcType=INTEGER},
create_emp_id = #{record.createEmpId,jdbcType=VARCHAR},
create_emp_name = #{record.createEmpName,jdbcType=VARCHAR},
create_date = #{record.createDate,jdbcType=TIMESTAMP},
modfiy_emp_id = #{record.modfiyEmpId,jdbcType=VARCHAR},
modfiy_emp_name = #{record.modfiyEmpName,jdbcType=VARCHAR},
modfiy_date = #{record.modfiyDate,jdbcType=TIMESTAMP},
remark = #{record.remark,jdbcType=VARCHAR}
update income_berth_report
check_date = #{checkDate,jdbcType=DATE},
check_date_str = #{checkDateStr,jdbcType=VARCHAR},
begin_date = #{beginDate,jdbcType=TIMESTAMP},
end_date = #{endDate,jdbcType=TIMESTAMP},
org_id = #{orgId,jdbcType=VARCHAR},
pl_no = #{plNo,jdbcType=VARCHAR},
pl_name = #{plName,jdbcType=VARCHAR},
berth_num = #{berthNum,jdbcType=INTEGER},
eqp_num = #{eqpNum,jdbcType=INTEGER},
berth_no_range = #{berthNoRange,jdbcType=VARCHAR},
berth_area_range = #{berthAreaRange,jdbcType=VARCHAR},
bill_start_time = #{billStartTime,jdbcType=VARCHAR},
bill_end_time = #{billEndTime,jdbcType=VARCHAR},
duty_charger_num = #{dutyChargerNum,jdbcType=INTEGER},
pl_type = #{plType,jdbcType=INTEGER},
pl_type_str = #{plTypeStr,jdbcType=VARCHAR},
night_bill_berth_no_range = #{nightBillBerthNoRange,jdbcType=VARCHAR},
total_fee = #{totalFee,jdbcType=BIGINT},
act_fee = #{actFee,jdbcType=BIGINT},
avg_hour_total_fee = #{avgHourTotalFee,jdbcType=BIGINT},
avg_hour_act_fee = #{avgHourActFee,jdbcType=BIGINT},
avg_order_total_fee = #{avgOrderTotalFee,jdbcType=BIGINT},
avg_order_act_fee = #{avgOrderActFee,jdbcType=BIGINT},
avg_berth_total_fee = #{avgBerthTotalFee,jdbcType=BIGINT},
avg_berth_act_fee = #{avgBerthActFee,jdbcType=BIGINT},
order_num_of_15min = #{orderNumOf15min,jdbcType=INTEGER},
order_num_all = #{orderNumAll,jdbcType=INTEGER},
order_num_pay = #{orderNumPay,jdbcType=INTEGER},
park_duration_of_15min = #{parkDurationOf15min,jdbcType=BIGINT},
park_duration_hour_of_15min = #{parkDurationHourOf15min,jdbcType=BIGINT},
park_duration_all = #{parkDurationAll,jdbcType=BIGINT},
park_duration_hour_all = #{parkDurationHourAll,jdbcType=BIGINT},
park_duration_pay = #{parkDurationPay,jdbcType=BIGINT},
data_state = #{dataState,jdbcType=INTEGER},
create_emp_id = #{createEmpId,jdbcType=VARCHAR},
create_emp_name = #{createEmpName,jdbcType=VARCHAR},
create_date = #{createDate,jdbcType=TIMESTAMP},
modfiy_emp_id = #{modfiyEmpId,jdbcType=VARCHAR},
modfiy_emp_name = #{modfiyEmpName,jdbcType=VARCHAR},
modfiy_date = #{modfiyDate,jdbcType=TIMESTAMP},
remark = #{remark,jdbcType=VARCHAR},
where id = #{id,jdbcType=BIGINT}
update income_berth_report
set check_date = #{checkDate,jdbcType=DATE},
check_date_str = #{checkDateStr,jdbcType=VARCHAR},
begin_date = #{beginDate,jdbcType=TIMESTAMP},
end_date = #{endDate,jdbcType=TIMESTAMP},
org_id = #{orgId,jdbcType=VARCHAR},
pl_no = #{plNo,jdbcType=VARCHAR},
pl_name = #{plName,jdbcType=VARCHAR},
berth_num = #{berthNum,jdbcType=INTEGER},
eqp_num = #{eqpNum,jdbcType=INTEGER},
berth_no_range = #{berthNoRange,jdbcType=VARCHAR},
berth_area_range = #{berthAreaRange,jdbcType=VARCHAR},
bill_start_time = #{billStartTime,jdbcType=VARCHAR},
bill_end_time = #{billEndTime,jdbcType=VARCHAR},
duty_charger_num = #{dutyChargerNum,jdbcType=INTEGER},
pl_type = #{plType,jdbcType=INTEGER},
pl_type_str = #{plTypeStr,jdbcType=VARCHAR},
night_bill_berth_no_range = #{nightBillBerthNoRange,jdbcType=VARCHAR},
total_fee = #{totalFee,jdbcType=BIGINT},
act_fee = #{actFee,jdbcType=BIGINT},
avg_hour_total_fee = #{avgHourTotalFee,jdbcType=BIGINT},
avg_hour_act_fee = #{avgHourActFee,jdbcType=BIGINT},
avg_order_total_fee = #{avgOrderTotalFee,jdbcType=BIGINT},
avg_order_act_fee = #{avgOrderActFee,jdbcType=BIGINT},
avg_berth_total_fee = #{avgBerthTotalFee,jdbcType=BIGINT},
avg_berth_act_fee = #{avgBerthActFee,jdbcType=BIGINT},
order_num_of_15min = #{orderNumOf15min,jdbcType=INTEGER},
order_num_all = #{orderNumAll,jdbcType=INTEGER},
order_num_pay = #{orderNumPay,jdbcType=INTEGER},
park_duration_of_15min = #{parkDurationOf15min,jdbcType=BIGINT},
park_duration_hour_of_15min = #{parkDurationHourOf15min,jdbcType=BIGINT},
park_duration_all = #{parkDurationAll,jdbcType=BIGINT},
park_duration_hour_all = #{parkDurationHourAll,jdbcType=BIGINT},
park_duration_pay = #{parkDurationPay,jdbcType=BIGINT},
data_state = #{dataState,jdbcType=INTEGER},
create_emp_id = #{createEmpId,jdbcType=VARCHAR},
create_emp_name = #{createEmpName,jdbcType=VARCHAR},
create_date = #{createDate,jdbcType=TIMESTAMP},
modfiy_emp_id = #{modfiyEmpId,jdbcType=VARCHAR},
modfiy_emp_name = #{modfiyEmpName,jdbcType=VARCHAR},
modfiy_date = #{modfiyDate,jdbcType=TIMESTAMP},
remark = #{remark,jdbcType=VARCHAR}
where id = #{id,jdbcType=BIGINT}