INSERT INTO dc_traffic_section_data ( id, traffic_volume, large_traffic_volume, average_speed, device_id, statistical_date, direction, period_type, stake_mark, create_time ) VALUES ( #{id}, #{trafficVolume}, #{largeTrafficVolume}, #{averageSpeed}, #{deviceId}, #{statisticalDate}, #{direction}, #{periodType}, #{stakeMark}, NOW()) ON DUPLICATE KEY UPDATE traffic_volume = VALUES(traffic_volume), large_traffic_volume = VALUES(large_traffic_volume), average_speed = VALUES(average_speed), device_id = VALUES(device_id), statistical_date = VALUES(statistical_date), direction = VALUES(direction), period_type = VALUES(period_type), stake_mark = VALUES(stake_mark), update_time = NOW()