select id, order_id, declare_port_id, warehouse_id, bar_code, quantity, price, shop_price, freight, tax_amount, item_link, book_number, product_code, name, brand, specification_model, description, quantity_unit, produce_country, inspection_and_quarantine_code, hs_code, tax_rate, declared_count, legal_metering_unit, second_declared_count, second_metering_unit, gross_weight, net_weight from custom_order_item insert into custom_order_item order_id, declare_port_id, warehouse_id, bar_code, quantity, price, shop_price, freight, tax_amount, item_link, book_number, product_code, name, brand, specification_model, description, quantity_unit, produce_country, inspection_and_quarantine_code, hs_code, tax_rate, declared_count, legal_metering_unit, second_declared_count, second_metering_unit, gross_weight, net_weight, sku_code, #{orderId}, #{declarePortId}, #{warehouseId}, #{barCode}, #{quantity}, #{price}, #{shopPrice}, #{freight}, #{taxAmount}, #{itemLink}, #{bookNumber}, #{productCode}, #{name}, #{brand}, #{specificationModel}, #{description}, #{quantityUnit}, #{produceCountry}, #{inspectionAndQuarantineCode}, #{hsCode}, #{taxRate}, #{declaredCount}, #{legalMeteringUnit}, #{secondDeclaredCount}, #{secondMeteringUnit}, #{grossWeight}, #{netWeight}, #{skuCode}, update custom_order_item order_id = #{orderId}, declare_port_id = #{declarePortId}, warehouse_id = #{warehouseId}, bar_code = #{barCode}, quantity = #{quantity}, price = #{price}, shop_price = #{shopPrice}, freight = #{freight}, tax_amount = #{taxAmount}, item_link = #{itemLink}, book_number = #{bookNumber}, product_code = #{productCode}, name = #{name}, brand = #{brand}, specification_model = #{specificationModel}, description = #{description}, quantity_unit = #{quantityUnit}, produce_country = #{produceCountry}, inspection_and_quarantine_code = #{inspectionAndQuarantineCode}, hs_code = #{hsCode}, tax_rate = #{taxRate}, declared_count = #{declaredCount}, legal_metering_unit = #{legalMeteringUnit}, second_declared_count = #{secondDeclaredCount}, second_metering_unit = #{secondMeteringUnit}, gross_weight = #{grossWeight}, net_weight = #{netWeight}, sku_code = #{skuCode}, where id = #{id} delete from custom_order_item where id = #{id} delete from custom_order_item where id in #{id}