select id, car_id, maintenance_date, maintenance_mileage, inspection_date, insurance_date, next_maintenance_date, next_maintenance_mileage, create_time, creator, update_time, updater from drive_school_upkeep insert into drive_school_upkeep car_id, maintenance_date, maintenance_mileage, inspection_date, insurance_date, next_maintenance_date, next_maintenance_mileage, create_time, creator, update_time, updater, #{carId}, #{maintenanceDate}, #{maintenanceMileage}, #{inspectionDate}, #{insuranceDate}, #{nextMaintenanceDate}, #{nextMaintenanceMileage}, #{createTime}, #{createBy}, #{updateTime}, #{updateBy}, update drive_school_upkeep car_id = #{carId}, maintenance_date = #{maintenanceDate}, maintenance_mileage = #{maintenanceMileage}, inspection_date = #{inspectionDate}, insurance_date = #{insuranceDate}, next_maintenance_date = #{nextMaintenanceDate}, next_maintenance_mileage = #{nextMaintenanceMileage}, create_time = #{createTime}, creator = #{createBy}, update_time = #{updateTime}, updater = #{updateBy}, where id = #{id} delete from drive_school_upkeep where id = #{id} delete from drive_school_upkeep where id in #{id}