select work_order_detail_id, work_order_number, material_code, material_name, specification_model, inventory_unit, material_type, material_consumption, unit_usage, item_number, description, standby_one, standby_two from work_order_detail
insert into work_order_detail
work_order_detail_id,
work_order_number,
material_code,
material_name,
specification_model,
inventory_unit,
material_type,
material_consumption,
unit_usage,
item_number,
description,
standby_one,
standby_two,
#{workOrderDetailId},
#{workOrderNumber},
#{materialCode},
#{materialName},
#{specificationModel},
#{inventoryUnit},
#{materialType},
#{materialConsumption},
#{unitUsage},
#{itemNumber},
#{description},
#{standbyOne},
#{standbyTwo},
update work_order_detail
work_order_number = #{workOrderNumber},
material_code = #{materialCode},
material_name = #{materialName},
specification_model = #{specificationModel},
inventory_unit = #{inventoryUnit},
material_type = #{materialType},
material_consumption = #{materialConsumption},
unit_usage = #{unitUsage},
item_number = #{itemNumber},
description = #{description},
standby_one = #{standbyOne},
standby_two = #{standbyTwo},
where work_order_detail_id = #{workOrderDetailId}
delete from work_order_detail where work_order_detail_id = #{workOrderDetailId}
delete from work_order_detail where work_order_detail_id in
#{workOrderDetailId}