From 9466e866aff368207d2f562e43a730780ee91476 Mon Sep 17 00:00:00 2001
From: 沙世明 <shashiming@prec-tech.com>
Date: 星期一, 21 三月 2022 17:25:07 +0800
Subject: [PATCH] 询价拆单时报价单复制没有带多年保信息

---
 force-app/main/default/classes/ControllerUtil.cls |   16 +++++++++++++++-
 1 files changed, 15 insertions(+), 1 deletions(-)

diff --git a/force-app/main/default/classes/ControllerUtil.cls b/force-app/main/default/classes/ControllerUtil.cls
index d58e34c..ce6d278 100644
--- a/force-app/main/default/classes/ControllerUtil.cls
+++ b/force-app/main/default/classes/ControllerUtil.cls
@@ -5170,7 +5170,12 @@
                                         Discount_Amount_F__c,
                                         Discount_Amount_Calculate_F__c,
                                         BidAnnounce__c,
-                                        Quote_No_last2__c
+                                        Quote_No_last2__c,
+                                        // 2022-03-21 SWAG-CBX5NN start
+                                        multiYearWarranty__c,
+                                        MultiYearWarrantyTotalPrice__c 
+                                        // 2022-03-21 SWAG-CBX5NN end
+
                                     FROM
                                         Quote
                                     WHERE 
@@ -5206,6 +5211,15 @@
                                                 Qty_Unit__c,Cost__c,UnitPrice__c,ListPrice__c,Quantity,TotalPrice__c,
                                                 PricebookEntry.Product2.SFDA_Status__c, ProductCode__c, Product_Cost__c,PricebookEntry.Product2.VenderName__c, Product2.VenderName__c,Product_ListPrice__c, PricebookEntry.Product2.Sales_Possibility__c, PricebookEntry.Product2.Name,
                                                 PricebookEntryId, PricebookEntry.Product2Id,UnitPrice_Page__c,PricebookEntry.Product2.Packing_list_manual__c,PricebookEntry.Product2.StorageStatus__c
+                                                // 2022-03-21 SWAG-CBX5NN start
+                                                ,If_Cancel_Guarantee__c
+                                                ,multiYearWarranty__c
+                                                ,CanNotCancelFlag__c 
+                                                ,ProductEntend_gurantee_period_all__c
+                                                ,warrantyType__c
+                                                ,GuaranteePeriod__c
+                                                ,GuranteeType__c 
+                                                // 2022-03-21 SWAG-CBX5NN end
                                                 From QuoteLineItem where Quoteid = :QuoteidOldList];
         for(QuoteLineItem qli : oldQuoteitemList){
             QuidWithQLitem.put(qli.Quoteid,qli);

--
Gitblit v1.9.1