update applet_departure_detail set is_del=1 where id=#{id} delete from applet_departure_detail where id=#{id} update applet_departure_detail id = #{id}, applet_departure_vehicle_id = #{applet_departure_vehicle_id}, receiving_unit = #{receiving_unit}, ship_name = #{ship_name}, voy_number = #{voy_number}, customs_clearance_nature = #{customs_clearance_nature}, lading_no = #{lading_no}, customs_declaration_no = #{customs_declaration_no}, cargo_name = #{cargo_name}, cargo_quantity = #{cargo_quantity}, remarks = #{remarks}, vin_list = #{vin_list}, create_time = #{create_time}::timestamp, is_del = #{is_del}, update_time = current_timestamp where id = #{id}