From 2aa8da8af66aa8ae00f25831aed6bb0364176e7b Mon Sep 17 00:00:00 2001
From: 高章伟 <gaozhangwei@prec-tech.com>
Date: 星期四, 24 二月 2022 20:32:31 +0800
Subject: [PATCH] 1.15---2.24 变更代码

---
 force-app/main/default/classes/NFM202Controller.cls |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/force-app/main/default/classes/NFM202Controller.cls b/force-app/main/default/classes/NFM202Controller.cls
index d6e2bd3..1c7ce0c 100644
--- a/force-app/main/default/classes/NFM202Controller.cls
+++ b/force-app/main/default/classes/NFM202Controller.cls
@@ -92,6 +92,10 @@
         public String productName;
         // CHAN-C9P5WM 20211216 ssm 澧炲姞浜у搧鍨嬪彿鍜屼骇鍝佸悕绉� end
 
+        //lt 20220223 CHAN-CBW9FX 鐗规畩浜よ揣鏈熷奖鍝嶇殑瀵瑰簲  start
+        public String DeliveryDate;
+        //lt 20220223 CHAN-CBW9FX 鐗规畩浜よ揣鏈熷奖鍝嶇殑瀵瑰簲  end
+
     }
 
     /* 
@@ -251,6 +255,11 @@
                                                          // CHAN-C9P5WM 20211216 ssm 澧炲姞绉戝鍚� end
                                                          PricebookEntry.Product2.Packing_list_manual__c,
                                                          PricebookEntry.Product2.GuranteeType__c
+
+                                                         //lt 20220223 CHAN-CBW9FX 鐗规畩浜よ揣鏈熷奖鍝嶇殑瀵瑰簲  start
+                                                         ,PricebookEntry.Product2.DeliveryDate__c
+                                                         //lt 20220223 CHAN-CBW9FX 鐗规畩浜よ揣鏈熷奖鍝嶇殑瀵瑰簲  end
+
                                                     from OpportunityLineItem 
                                                    where OpportunityId in :oppIds];
             
@@ -578,6 +587,11 @@
                         detail.ProductCode = oppLine.ProductCode__c;  // 浜у搧缂栫爜锛堟寚OTCode锛�;
                         // 鏁伴噺
                         detail.Quantity = oppLine.Quantity;
+
+                        //lt 20220223 CHAN-CBW9FX 鐗规畩浜よ揣鏈熷奖鍝嶇殑瀵瑰簲   浜よ揣鏈� start 
+                        detail.DeliveryDate = oppLine.PricebookEntry.Product2.DeliveryDate__c;
+                        //lt 20220223 CHAN-CBW9FX 鐗规畩浜よ揣鏈熷奖鍝嶇殑瀵瑰簲  end
+
                         // LHJ SWAG-C9F9P8  20211206 澧炲姞瑙勬牸 Start
                         // 瑙勬牸
                         detail.Packing = oppLine.PricebookEntry.Product2.Packing_list_manual__c;

--
Gitblit v1.9.1