update applet_port_areas set is_del=1 where id=#{id}
delete from applet_port_areas where id=#{id}
update applet_port_areas
id = #{id},
port_area_name = #{port_area_name},
port_area_name_en = #{port_area_name_en},
port_area_code = #{port_area_code},
port_area_address = #{port_area_address},
area_center_poi = #{area_center_poi},
punch_range = #{punch_range},
is_enable = #{is_enable},
order_items = #{order_items},
create_time = #{create_time}::timestamp,
is_del = #{is_del},
update_time = current_timestamp
where id = #{id}