From 7a6bde159e19c304b3a512ed21171b7ce09055d9 Mon Sep 17 00:00:00 2001
From: 涂煌豪 <tuhuanghao@prec-tech.com>
Date: 星期四, 24 三月 2022 17:50:20 +0800
Subject: [PATCH] 【委托】【优先】用户中的课的信息与人事信息通过规则修改

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

diff --git a/force-app/main/default/classes/ControllerUtil.cls b/force-app/main/default/classes/ControllerUtil.cls
index d58e34c..fb0f86d 100644
--- a/force-app/main/default/classes/ControllerUtil.cls
+++ b/force-app/main/default/classes/ControllerUtil.cls
@@ -3076,7 +3076,9 @@
                     userData.Dept__c = odsc.Category4__c;//鏈儴
                 }
                 userData.Category5__c = odsc.Category5__c;//閮�
-                userData.Category6__c = odsc.Category6__c;//璇�
+                //LLIU-CCS8ZB-褰撴柊鍒涘缓鐨勬椂鍊欐帴鏀朵汉浜嬩俊鎭腑鐨勮淇℃伅锛屼箣鍚庝笉杩涜鏇存柊 thh 20220324 start
+                // userData.Category6__c = odsc.Category6__c;//璇�
+                //LLIU-CCS8ZB-褰撴柊鍒涘缓鐨勬椂鍊欐帴鏀朵汉浜嬩俊鎭腑鐨勮淇℃伅锛屼箣鍚庝笉杩涜鏇存柊 thh 20220324 end
                 //userData.Employee_No__c = odsc.Employee_No__c;//鍛樺伐缂栫爜
                 userData.Hire_Date__c = odsc.Hire_Date__c;//鍏ヨ亴鏃ユ湡
                 //userData.Email = odsc.Email__c;//鐢靛瓙閭欢
@@ -5170,7 +5172,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 +5213,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