select sales_finish_id, sso.sales_order_code AS sales_order_code,sso.sales_order_number AS sales_order_number, appointment_number, sso.enterprise_code AS enterprise_code, sso.enterprise_name AS enterprise_name, payment_terms, delivery_conditions, delivery_method, order_receiving_mode, customer_contact, customer_factory, contact_number, business_members, customer_fax, delivery_address, order_receiving_time, billing_time, customer_remarks, current_inventory, credit_limit, unpaid_amount, available_credit, confirm_tax, tax_rate, total_amount, modification_time, confirm_time, confirm_no, confirm_name, audit_no, audit_time, audit_remarks, national_tax_bill,finish_product_code, finish_product_name, specification_model, type_machine, inventory_unit, stock_unit_weight, process_price, product_quantity, amount_money, delivery_time, line, version_number, sales_explain, customer_use_or_not, customer_use_quantity, customer_use_remarks, account_reconciliation_or_not, account_reconciliation_person, account_reconciliation_time FROM sys_sales_order sso,sys_sales_finish ssf WHERE sso.sales_order_code = ssf.sales_order_code AND sso.sales_order_number = ssf.sales_order_number update sys_sales_finish sales_order_number = #{salesOrderNumber}, appointment_number = #{appointmentNumber}, enterprise_code = #{enterpriseCode}, enterprise_name = #{enterpriseName}, finish_product_code = #{finishProductCode}, finish_product_name = #{finishProductName}, specification_model = #{specificationModel}, type_machine = #{typeMachine}, inventory_unit = #{inventoryUnit}, stock_unit_weight = #{stockUnitWeight}, process_price = #{processPrice}, product_quantity = #{productQuantity}, amount_money = #{amountMoney}, delivery_time = #{deliveryTime}, line = #{line}, version_number = #{versionNumber}, sales_explain = #{salesExplain}, customer_use_or_not = #{customerUseOrNot}, customer_use_quantity = #{customerUseQuantity}, customer_use_remarks = #{customerUseRemarks}, account_reconciliation_or_not = #{accountReconciliationOrNot}, account_reconciliation_person = #{accountReconciliationPerson}, account_reconciliation_time = #{accountReconciliationTime}, where sales_finish_id = #{salesFinishId}