update applet_departure_vehicle set is_del=1 where id=#{id}
delete from applet_departure_vehicle where id=#{id}
update applet_departure_vehicle
id = #{id},
voucher_number = #{voucher_number},
users_id = #{users_id},
users_name = #{users_name},
tel_number = #{tel_number},
operators = #{operators},
phone_number = #{phone_number},
truck_number = #{truck_number},
trade_type = #{trade_type},
cargo_type = #{cargo_type},
cargo_quantity = #{cargo_quantity},
delivery_time = #{delivery_time}::timestamp,
checker = #{checker},
check_status = #{check_status},
check_time = #{check_time}::timestamp,
remarks = #{remarks},
create_time = #{create_time}::timestamp,
is_del = #{is_del},
update_time = current_timestamp
where id = #{id}