select supplier_quotation_id, quotation_code, raw_subsidiary_code, raw_subsidiary_name, specification_model, type_machine, inventory_unit, common_currency, inventory_price, purchasing_unit, purchase_price, relational_formula, supplier_code, supplier_name, pricing_date, confirm_tax, tax_rate, quotation_explain, current_quote, registrant, confirm_no, audit_no, approve_no, confirm_name, confirm_time, audit_name, audit_time, approve_name, approve_time, standby_one, standby_two, first_add_time, update_info_time from sys_supplier_quotation
insert into sys_supplier_quotation
quotation_code,
raw_subsidiary_code,
raw_subsidiary_name,
specification_model,
type_machine,
inventory_unit,
common_currency,
inventory_price,
purchasing_unit,
purchase_price,
relational_formula,
supplier_code,
supplier_name,
pricing_date,
confirm_tax,
tax_rate,
quotation_explain,
current_quote,
registrant,
confirm_no,
audit_no,
approve_no,
confirm_name,
confirm_time,
audit_name,
audit_time,
approve_name,
approve_time,
standby_one,
standby_two,
first_add_time,
#{quotationCode},
#{rawSubsidiaryCode},
#{rawSubsidiaryName},
#{specificationModel},
#{typeMachine},
#{inventoryUnit},
#{commonCurrency},
#{inventoryPrice},
#{purchasingUnit},
#{purchasePrice},
#{relationalFormula},
#{supplierCode},
#{supplierName},
#{pricingDate},
#{confirmTax},
#{taxRate},
#{quotationExplain},
#{currentQuote},
#{registrant},
#{confirmNo},
#{auditNo},
#{approveNo},
#{confirmName},
#{confirmTime},
#{auditName},
#{auditTime},
#{approveName},
#{approveTime},
#{standbyOne},
#{standbyTwo},
now(),
update sys_supplier_quotation
quotation_code = #{quotationCode},
raw_subsidiary_code = #{rawSubsidiaryCode},
raw_subsidiary_name = #{rawSubsidiaryName},
specification_model = #{specificationModel},
type_machine = #{typeMachine},
inventory_unit = #{inventoryUnit},
common_currency = #{commonCurrency},
inventory_price = #{inventoryPrice},
purchasing_unit = #{purchasingUnit},
purchase_price = #{purchasePrice},
relational_formula = #{relationalFormula},
supplier_code = #{supplierCode},
supplier_name = #{supplierName},
pricing_date = #{pricingDate},
confirm_tax = #{confirmTax},
tax_rate = #{taxRate},
quotation_explain = #{quotationExplain},
current_quote = #{currentQuote},
registrant = #{registrant},
confirm_no = #{confirmNo},
audit_no = #{auditNo},
approve_no = #{approveNo},
confirm_name = #{confirmName},
confirm_time = #{confirmTime},
audit_name = #{auditName},
audit_time = #{auditTime},
approve_name = #{approveName},
approve_time = #{approveTime},
standby_one = #{standbyOne},
standby_two = #{standbyTwo},
update_info_time = CONCAT_WS(',',NOW(),update_info_time),
where supplier_quotation_id = #{supplierQuotationId}
delete from sys_supplier_quotation where supplier_quotation_id = #{supplierQuotationId}
delete from sys_supplier_quotation where supplier_quotation_id in
#{supplierQuotationId}