select material_requisition_detail_id, material_requisition_number, material_code, material_name, specification_model, item_number, type_machine, inventory_unit, plan_quantity, description, unit_usage, storage_location, material_type, standby_one, standby_two, bom_rank, up_finish_product_code from material_requisition_detail insert into material_requisition_detail material_requisition_number, material_code, material_name, specification_model, item_number, type_machine, inventory_unit, plan_quantity, description, unit_usage, storage_location, material_type, standby_one, standby_two, bom_rank, up_finish_product_code, #{materialRequisitionNumber}, #{materialCode}, #{materialName}, #{specificationModel}, #{itemNumber}, #{typeMachine}, #{inventoryUnit}, #{planQuantity}, #{description}, #{unitUsage}, #{storageLocation}, #{materialType}, #{standbyOne}, #{standbyTwo}, #{bomRank}, #{upFinishProductCode}, update material_requisition_detail material_requisition_number = #{materialRequisitionNumber}, material_code = #{materialCode}, material_name = #{materialName}, specification_model = #{specificationModel}, item_number = #{itemNumber}, type_machine = #{typeMachine}, inventory_unit = #{inventoryUnit}, plan_quantity = #{planQuantity}, description = #{description}, unit_usage = #{unitUsage}, storage_location = #{storageLocation}, material_type = #{materialType}, standby_one = #{standbyOne}, standby_two = #{standbyTwo}, bom_rank = #{bomRank}, up_finish_product_code = #{upFinishProductCode}, where material_requisition_detail_id = #{materialRequisitionDetailId} delete from material_requisition_detail where material_requisition_detail_id = #{materialRequisitionDetailId} delete from material_requisition_detail where material_requisition_detail_id in #{materialRequisitionDetailId}