select product_quotation_id, quotation_code, finish_product_code, finish_product_name, specification_model, type_machine, inventory_unit, common_currency, process_price, customer_number, enterprise_code, enterprise_name, registrant, pricing_date, tax_rate, price_excluding_tax, price_including_tax, last_price, last_price_end, cost_rmb, current_exchange_rate, proportion_materials, quotation_explain, current_quote, confirm_tax, file_upload, confirm_no, confirm_name, confirm_time, audit_no, audit_name, audit_time, approve_no, approve_name, approve_time, standby_one, standby_two, first_add_time, update_info_time from sys_product_quotation insert into sys_product_quotation quotation_code, finish_product_code, finish_product_name, specification_model, type_machine, inventory_unit, common_currency, process_price, customer_number, enterprise_code, enterprise_name, registrant, pricing_date, tax_rate, price_excluding_tax, price_including_tax, last_price, last_price_end, cost_rmb, current_exchange_rate, proportion_materials, quotation_explain, current_quote, confirm_tax, file_upload, confirm_no, confirm_name, confirm_time, audit_no, audit_name, audit_time, approve_no, approve_name, approve_time, standby_one, standby_two, first_add_time, #{quotationCode}, #{finishProductCode}, #{finishProductName}, #{specificationModel}, #{typeMachine}, #{inventoryUnit}, #{commonCurrency}, #{processPrice}, #{customerNumber}, #{enterpriseCode}, #{enterpriseName}, #{registrant}, #{pricingDate}, #{taxRate}, #{priceExcludingTax}, #{priceIncludingTax}, #{lastPrice}, #{lastPriceEnd}, #{costRmb}, #{currentExchangeRate}, #{proportionMaterials}, #{quotationExplain}, #{currentQuote}, #{confirmTax}, #{fileUpload}, #{confirmNo}, #{confirmName}, #{confirmTime}, #{auditNo}, #{auditName}, #{auditTime}, #{approveNo}, #{approveName}, #{approveTime}, #{standbyOne}, #{standbyTwo}, now(), update sys_product_quotation quotation_code = #{quotationCode}, finish_product_code = #{finishProductCode}, finish_product_name = #{finishProductName}, specification_model = #{specificationModel}, type_machine = #{typeMachine}, inventory_unit = #{inventoryUnit}, common_currency = #{commonCurrency}, process_price = #{processPrice}, customer_number = #{customerNumber}, enterprise_code = #{enterpriseCode}, enterprise_name = #{enterpriseName}, registrant = #{registrant}, pricing_date = #{pricingDate}, tax_rate = #{taxRate}, price_excluding_tax = #{priceExcludingTax}, price_including_tax = #{priceIncludingTax}, last_price = #{lastPrice}, last_price_end = #{lastPriceEnd}, cost_rmb = #{costRmb}, current_exchange_rate = #{currentExchangeRate}, proportion_materials = #{proportionMaterials}, quotation_explain = #{quotationExplain}, current_quote = #{currentQuote}, confirm_tax = #{confirmTax}, file_upload = #{fileUpload}, confirm_no = #{confirmNo}, confirm_name = #{confirmName}, confirm_time = #{confirmTime}, audit_no = #{auditNo}, audit_name = #{auditName}, audit_time = #{auditTime}, approve_no = #{approveNo}, approve_name = #{approveName}, approve_time = #{approveTime}, standby_one = #{standbyOne}, standby_two = #{standbyTwo}, update_info_time = CONCAT_WS(',',NOW(),update_info_time), where product_quotation_id = #{productQuotationId} delete from sys_product_quotation where product_quotation_id = #{productQuotationId} delete from sys_product_quotation where product_quotation_id in #{productQuotationId}