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, pl_no, pl_name, top_org_id, pl_type, berth_num, free_berth_num, data_source,
time_cycle, free_ratio, occupy_ratio, unit_turnover_ratio, turnover_ratio, park_in_count,
unit_park_in_count, vip_in_count, unit_vip_in_count, park_out_count, unit_park_out_count,
vip_out_count, unit_vip_out_count, statistic_begin_time, statistic_end_time, create_time,
data_status
delete from parking_running_statistic
where id = #{id,jdbcType=BIGINT}
delete from parking_running_statistic
SELECT LAST_INSERT_ID()
insert into parking_running_statistic (pl_no, pl_name, top_org_id,
pl_type, berth_num, free_berth_num,
data_source, time_cycle, free_ratio,
occupy_ratio, unit_turnover_ratio, turnover_ratio,
park_in_count, unit_park_in_count, vip_in_count,
unit_vip_in_count, park_out_count, unit_park_out_count,
vip_out_count, unit_vip_out_count, statistic_begin_time,
statistic_end_time, create_time, data_status
)
values (#{plNo,jdbcType=VARCHAR}, #{plName,jdbcType=VARCHAR}, #{topOrgId,jdbcType=BIGINT},
#{plType,jdbcType=INTEGER}, #{berthNum,jdbcType=INTEGER}, #{freeBerthNum,jdbcType=INTEGER},
#{dataSource,jdbcType=INTEGER}, #{timeCycle,jdbcType=INTEGER}, #{freeRatio,jdbcType=DOUBLE},
#{occupyRatio,jdbcType=DOUBLE}, #{unitTurnoverRatio,jdbcType=DOUBLE}, #{turnoverRatio,jdbcType=DOUBLE},
#{parkInCount,jdbcType=INTEGER}, #{unitParkInCount,jdbcType=INTEGER}, #{vipInCount,jdbcType=INTEGER},
#{unitVipInCount,jdbcType=INTEGER}, #{parkOutCount,jdbcType=INTEGER}, #{unitParkOutCount,jdbcType=INTEGER},
#{vipOutCount,jdbcType=INTEGER}, #{unitVipOutCount,jdbcType=INTEGER}, #{statisticBeginTime,jdbcType=TIMESTAMP},
#{statisticEndTime,jdbcType=TIMESTAMP}, #{createTime,jdbcType=TIMESTAMP}, #{dataStatus,jdbcType=INTEGER}
)
SELECT LAST_INSERT_ID()
insert into parking_running_statistic
pl_no,
pl_name,
top_org_id,
pl_type,
berth_num,
free_berth_num,
data_source,
time_cycle,
free_ratio,
occupy_ratio,
unit_turnover_ratio,
turnover_ratio,
park_in_count,
unit_park_in_count,
vip_in_count,
unit_vip_in_count,
park_out_count,
unit_park_out_count,
vip_out_count,
unit_vip_out_count,
statistic_begin_time,
statistic_end_time,
create_time,
data_status,
#{plNo,jdbcType=VARCHAR},
#{plName,jdbcType=VARCHAR},
#{topOrgId,jdbcType=BIGINT},
#{plType,jdbcType=INTEGER},
#{berthNum,jdbcType=INTEGER},
#{freeBerthNum,jdbcType=INTEGER},
#{dataSource,jdbcType=INTEGER},
#{timeCycle,jdbcType=INTEGER},
#{freeRatio,jdbcType=DOUBLE},
#{occupyRatio,jdbcType=DOUBLE},
#{unitTurnoverRatio,jdbcType=DOUBLE},
#{turnoverRatio,jdbcType=DOUBLE},
#{parkInCount,jdbcType=INTEGER},
#{unitParkInCount,jdbcType=INTEGER},
#{vipInCount,jdbcType=INTEGER},
#{unitVipInCount,jdbcType=INTEGER},
#{parkOutCount,jdbcType=INTEGER},
#{unitParkOutCount,jdbcType=INTEGER},
#{vipOutCount,jdbcType=INTEGER},
#{unitVipOutCount,jdbcType=INTEGER},
#{statisticBeginTime,jdbcType=TIMESTAMP},
#{statisticEndTime,jdbcType=TIMESTAMP},
#{createTime,jdbcType=TIMESTAMP},
#{dataStatus,jdbcType=INTEGER},
update parking_running_statistic
id = #{record.id,jdbcType=BIGINT},
pl_no = #{record.plNo,jdbcType=VARCHAR},
pl_name = #{record.plName,jdbcType=VARCHAR},
top_org_id = #{record.topOrgId,jdbcType=BIGINT},
pl_type = #{record.plType,jdbcType=INTEGER},
berth_num = #{record.berthNum,jdbcType=INTEGER},
free_berth_num = #{record.freeBerthNum,jdbcType=INTEGER},
data_source = #{record.dataSource,jdbcType=INTEGER},
time_cycle = #{record.timeCycle,jdbcType=INTEGER},
free_ratio = #{record.freeRatio,jdbcType=DOUBLE},
occupy_ratio = #{record.occupyRatio,jdbcType=DOUBLE},
unit_turnover_ratio = #{record.unitTurnoverRatio,jdbcType=DOUBLE},
turnover_ratio = #{record.turnoverRatio,jdbcType=DOUBLE},
park_in_count = #{record.parkInCount,jdbcType=INTEGER},
unit_park_in_count = #{record.unitParkInCount,jdbcType=INTEGER},
vip_in_count = #{record.vipInCount,jdbcType=INTEGER},
unit_vip_in_count = #{record.unitVipInCount,jdbcType=INTEGER},
park_out_count = #{record.parkOutCount,jdbcType=INTEGER},
unit_park_out_count = #{record.unitParkOutCount,jdbcType=INTEGER},
vip_out_count = #{record.vipOutCount,jdbcType=INTEGER},
unit_vip_out_count = #{record.unitVipOutCount,jdbcType=INTEGER},
statistic_begin_time = #{record.statisticBeginTime,jdbcType=TIMESTAMP},
statistic_end_time = #{record.statisticEndTime,jdbcType=TIMESTAMP},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
data_status = #{record.dataStatus,jdbcType=INTEGER},
update parking_running_statistic
set id = #{record.id,jdbcType=BIGINT},
pl_no = #{record.plNo,jdbcType=VARCHAR},
pl_name = #{record.plName,jdbcType=VARCHAR},
top_org_id = #{record.topOrgId,jdbcType=BIGINT},
pl_type = #{record.plType,jdbcType=INTEGER},
berth_num = #{record.berthNum,jdbcType=INTEGER},
free_berth_num = #{record.freeBerthNum,jdbcType=INTEGER},
data_source = #{record.dataSource,jdbcType=INTEGER},
time_cycle = #{record.timeCycle,jdbcType=INTEGER},
free_ratio = #{record.freeRatio,jdbcType=DOUBLE},
occupy_ratio = #{record.occupyRatio,jdbcType=DOUBLE},
unit_turnover_ratio = #{record.unitTurnoverRatio,jdbcType=DOUBLE},
turnover_ratio = #{record.turnoverRatio,jdbcType=DOUBLE},
park_in_count = #{record.parkInCount,jdbcType=INTEGER},
unit_park_in_count = #{record.unitParkInCount,jdbcType=INTEGER},
vip_in_count = #{record.vipInCount,jdbcType=INTEGER},
unit_vip_in_count = #{record.unitVipInCount,jdbcType=INTEGER},
park_out_count = #{record.parkOutCount,jdbcType=INTEGER},
unit_park_out_count = #{record.unitParkOutCount,jdbcType=INTEGER},
vip_out_count = #{record.vipOutCount,jdbcType=INTEGER},
unit_vip_out_count = #{record.unitVipOutCount,jdbcType=INTEGER},
statistic_begin_time = #{record.statisticBeginTime,jdbcType=TIMESTAMP},
statistic_end_time = #{record.statisticEndTime,jdbcType=TIMESTAMP},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
data_status = #{record.dataStatus,jdbcType=INTEGER}
update parking_running_statistic
pl_no = #{plNo,jdbcType=VARCHAR},
pl_name = #{plName,jdbcType=VARCHAR},
top_org_id = #{topOrgId,jdbcType=BIGINT},
pl_type = #{plType,jdbcType=INTEGER},
berth_num = #{berthNum,jdbcType=INTEGER},
free_berth_num = #{freeBerthNum,jdbcType=INTEGER},
data_source = #{dataSource,jdbcType=INTEGER},
time_cycle = #{timeCycle,jdbcType=INTEGER},
free_ratio = #{freeRatio,jdbcType=DOUBLE},
occupy_ratio = #{occupyRatio,jdbcType=DOUBLE},
unit_turnover_ratio = #{unitTurnoverRatio,jdbcType=DOUBLE},
turnover_ratio = #{turnoverRatio,jdbcType=DOUBLE},
park_in_count = #{parkInCount,jdbcType=INTEGER},
unit_park_in_count = #{unitParkInCount,jdbcType=INTEGER},
vip_in_count = #{vipInCount,jdbcType=INTEGER},
unit_vip_in_count = #{unitVipInCount,jdbcType=INTEGER},
park_out_count = #{parkOutCount,jdbcType=INTEGER},
unit_park_out_count = #{unitParkOutCount,jdbcType=INTEGER},
vip_out_count = #{vipOutCount,jdbcType=INTEGER},
unit_vip_out_count = #{unitVipOutCount,jdbcType=INTEGER},
statistic_begin_time = #{statisticBeginTime,jdbcType=TIMESTAMP},
statistic_end_time = #{statisticEndTime,jdbcType=TIMESTAMP},
create_time = #{createTime,jdbcType=TIMESTAMP},
data_status = #{dataStatus,jdbcType=INTEGER},
where id = #{id,jdbcType=BIGINT}
update parking_running_statistic
set pl_no = #{plNo,jdbcType=VARCHAR},
pl_name = #{plName,jdbcType=VARCHAR},
top_org_id = #{topOrgId,jdbcType=BIGINT},
pl_type = #{plType,jdbcType=INTEGER},
berth_num = #{berthNum,jdbcType=INTEGER},
free_berth_num = #{freeBerthNum,jdbcType=INTEGER},
data_source = #{dataSource,jdbcType=INTEGER},
time_cycle = #{timeCycle,jdbcType=INTEGER},
free_ratio = #{freeRatio,jdbcType=DOUBLE},
occupy_ratio = #{occupyRatio,jdbcType=DOUBLE},
unit_turnover_ratio = #{unitTurnoverRatio,jdbcType=DOUBLE},
turnover_ratio = #{turnoverRatio,jdbcType=DOUBLE},
park_in_count = #{parkInCount,jdbcType=INTEGER},
unit_park_in_count = #{unitParkInCount,jdbcType=INTEGER},
vip_in_count = #{vipInCount,jdbcType=INTEGER},
unit_vip_in_count = #{unitVipInCount,jdbcType=INTEGER},
park_out_count = #{parkOutCount,jdbcType=INTEGER},
unit_park_out_count = #{unitParkOutCount,jdbcType=INTEGER},
vip_out_count = #{vipOutCount,jdbcType=INTEGER},
unit_vip_out_count = #{unitVipOutCount,jdbcType=INTEGER},
statistic_begin_time = #{statisticBeginTime,jdbcType=TIMESTAMP},
statistic_end_time = #{statisticEndTime,jdbcType=TIMESTAMP},
create_time = #{createTime,jdbcType=TIMESTAMP},
data_status = #{dataStatus,jdbcType=INTEGER}
where id = #{id,jdbcType=BIGINT}