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, free_ratio, statistic_type, turnover_ratio, tmp_vehicle_flow, vehicle_flow, fix_vehicle_flow, statistic_begin_time, statistic_end_time, create_time, data_status, out_park_count, total_free_berths, pl_name, total_berths delete from parking_lot_use_statistic where id = #{id,jdbcType=BIGINT} delete from parking_lot_use_statistic SELECT LAST_INSERT_ID() insert into parking_lot_use_statistic (pl_no, free_ratio, statistic_type, turnover_ratio, tmp_vehicle_flow, vehicle_flow, fix_vehicle_flow, statistic_begin_time, statistic_end_time, create_time, data_status, out_park_count, total_free_berths, pl_name, total_berths ) values (#{plNo,jdbcType=VARCHAR}, #{freeRatio,jdbcType=DOUBLE}, #{statisticType,jdbcType=INTEGER}, #{turnoverRatio,jdbcType=DOUBLE}, #{tmpVehicleFlow,jdbcType=INTEGER}, #{vehicleFlow,jdbcType=INTEGER}, #{fixVehicleFlow,jdbcType=INTEGER}, #{statisticBeginTime,jdbcType=TIMESTAMP}, #{statisticEndTime,jdbcType=TIMESTAMP}, #{createTime,jdbcType=TIMESTAMP}, #{dataStatus,jdbcType=INTEGER}, #{outParkCount,jdbcType=INTEGER}, #{totalFreeBerths,jdbcType=INTEGER}, #{plName,jdbcType=VARCHAR}, #{totalBerths,jdbcType=INTEGER} ) SELECT LAST_INSERT_ID() insert into parking_lot_use_statistic pl_no, free_ratio, statistic_type, turnover_ratio, tmp_vehicle_flow, vehicle_flow, fix_vehicle_flow, statistic_begin_time, statistic_end_time, create_time, data_status, out_park_count, total_free_berths, pl_name, total_berths, #{plNo,jdbcType=VARCHAR}, #{freeRatio,jdbcType=DOUBLE}, #{statisticType,jdbcType=INTEGER}, #{turnoverRatio,jdbcType=DOUBLE}, #{tmpVehicleFlow,jdbcType=INTEGER}, #{vehicleFlow,jdbcType=INTEGER}, #{fixVehicleFlow,jdbcType=INTEGER}, #{statisticBeginTime,jdbcType=TIMESTAMP}, #{statisticEndTime,jdbcType=TIMESTAMP}, #{createTime,jdbcType=TIMESTAMP}, #{dataStatus,jdbcType=INTEGER}, #{outParkCount,jdbcType=INTEGER}, #{totalFreeBerths,jdbcType=INTEGER}, #{plName,jdbcType=VARCHAR}, #{totalBerths,jdbcType=INTEGER}, update parking_lot_use_statistic id = #{record.id,jdbcType=BIGINT}, pl_no = #{record.plNo,jdbcType=VARCHAR}, free_ratio = #{record.freeRatio,jdbcType=DOUBLE}, statistic_type = #{record.statisticType,jdbcType=INTEGER}, turnover_ratio = #{record.turnoverRatio,jdbcType=DOUBLE}, tmp_vehicle_flow = #{record.tmpVehicleFlow,jdbcType=INTEGER}, vehicle_flow = #{record.vehicleFlow,jdbcType=INTEGER}, fix_vehicle_flow = #{record.fixVehicleFlow,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}, out_park_count = #{record.outParkCount,jdbcType=INTEGER}, total_free_berths = #{record.totalFreeBerths,jdbcType=INTEGER}, pl_name = #{record.plName,jdbcType=VARCHAR}, total_berths = #{record.totalBerths,jdbcType=INTEGER}, update parking_lot_use_statistic set id = #{record.id,jdbcType=BIGINT}, pl_no = #{record.plNo,jdbcType=VARCHAR}, free_ratio = #{record.freeRatio,jdbcType=DOUBLE}, statistic_type = #{record.statisticType,jdbcType=INTEGER}, turnover_ratio = #{record.turnoverRatio,jdbcType=DOUBLE}, tmp_vehicle_flow = #{record.tmpVehicleFlow,jdbcType=INTEGER}, vehicle_flow = #{record.vehicleFlow,jdbcType=INTEGER}, fix_vehicle_flow = #{record.fixVehicleFlow,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}, out_park_count = #{record.outParkCount,jdbcType=INTEGER}, total_free_berths = #{record.totalFreeBerths,jdbcType=INTEGER}, pl_name = #{record.plName,jdbcType=VARCHAR}, total_berths = #{record.totalBerths,jdbcType=INTEGER} update parking_lot_use_statistic pl_no = #{plNo,jdbcType=VARCHAR}, free_ratio = #{freeRatio,jdbcType=DOUBLE}, statistic_type = #{statisticType,jdbcType=INTEGER}, turnover_ratio = #{turnoverRatio,jdbcType=DOUBLE}, tmp_vehicle_flow = #{tmpVehicleFlow,jdbcType=INTEGER}, vehicle_flow = #{vehicleFlow,jdbcType=INTEGER}, fix_vehicle_flow = #{fixVehicleFlow,jdbcType=INTEGER}, statistic_begin_time = #{statisticBeginTime,jdbcType=TIMESTAMP}, statistic_end_time = #{statisticEndTime,jdbcType=TIMESTAMP}, create_time = #{createTime,jdbcType=TIMESTAMP}, data_status = #{dataStatus,jdbcType=INTEGER}, out_park_count = #{outParkCount,jdbcType=INTEGER}, total_free_berths = #{totalFreeBerths,jdbcType=INTEGER}, pl_name = #{plName,jdbcType=VARCHAR}, total_berths = #{totalBerths,jdbcType=INTEGER}, where id = #{id,jdbcType=BIGINT} update parking_lot_use_statistic set pl_no = #{plNo,jdbcType=VARCHAR}, free_ratio = #{freeRatio,jdbcType=DOUBLE}, statistic_type = #{statisticType,jdbcType=INTEGER}, turnover_ratio = #{turnoverRatio,jdbcType=DOUBLE}, tmp_vehicle_flow = #{tmpVehicleFlow,jdbcType=INTEGER}, vehicle_flow = #{vehicleFlow,jdbcType=INTEGER}, fix_vehicle_flow = #{fixVehicleFlow,jdbcType=INTEGER}, statistic_begin_time = #{statisticBeginTime,jdbcType=TIMESTAMP}, statistic_end_time = #{statisticEndTime,jdbcType=TIMESTAMP}, create_time = #{createTime,jdbcType=TIMESTAMP}, data_status = #{dataStatus,jdbcType=INTEGER}, out_park_count = #{outParkCount,jdbcType=INTEGER}, total_free_berths = #{totalFreeBerths,jdbcType=INTEGER}, pl_name = #{plName,jdbcType=VARCHAR}, total_berths = #{totalBerths,jdbcType=INTEGER} where id = #{id,jdbcType=BIGINT}