select delivery_goods_detail_id, notice_order_number, sales_order_number, enterprise_code, enterprise_name, finish_product_code, finish_product_name, specification_model, customer_number, type_machine, inventory_unit, common_currency, process_price, product_quantity, amount_money, line, version_number, sales_explain, standby_one, standby_two from delivery_goods_detail
insert into delivery_goods_detail
delivery_goods_detail_id,
notice_order_number,
sales_order_number,
enterprise_code,
enterprise_name,
finish_product_code,
finish_product_name,
specification_model,
customer_number,
type_machine,
inventory_unit,
common_currency,
process_price,
product_quantity,
amount_money,
line,
version_number,
sales_explain,
standby_one,
standby_two,
#{deliveryGoodsDetailId},
#{noticeOrderNumber},
#{salesOrderNumber},
#{enterpriseCode},
#{enterpriseName},
#{finishProductCode},
#{finishProductName},
#{specificationModel},
#{customerNumber},
#{typeMachine},
#{inventoryUnit},
#{commonCurrency},
#{processPrice},
#{productQuantity},
#{amountMoney},
#{line},
#{versionNumber},
#{salesExplain},
#{standbyOne},
#{standbyTwo},
update delivery_goods_detail
notice_order_number = #{noticeOrderNumber},
sales_order_number = #{salesOrderNumber},
enterprise_code = #{enterpriseCode},
enterprise_name = #{enterpriseName},
finish_product_code = #{finishProductCode},
finish_product_name = #{finishProductName},
specification_model = #{specificationModel},
customer_number = #{customerNumber},
type_machine = #{typeMachine},
inventory_unit = #{inventoryUnit},
common_currency = #{commonCurrency},
process_price = #{processPrice},
product_quantity = #{productQuantity},
amount_money = #{amountMoney},
line = #{line},
version_number = #{versionNumber},
sales_explain = #{salesExplain},
standby_one = #{standbyOne},
standby_two = #{standbyTwo},
where delivery_goods_detail_id = #{deliveryGoodsDetailId}
delete from delivery_goods_detail where delivery_goods_detail_id = #{deliveryGoodsDetailId}
delete from delivery_goods_detail where delivery_goods_detail_id in
#{deliveryGoodsDetailId}