From 84e5b11bfd57b0a581a4f5d8dc65f577e8d331cf Mon Sep 17 00:00:00 2001
From: GWY <guweiyiscp096@foxmail.com>
Date: 星期三, 20 四月 2022 17:33:29 +0800
Subject: [PATCH] 修改,不能保存客户。无影响。

---
 force-app/main/default/classes/OrderPdf2ControllerTest.cls |   18 ++++++++++++------
 1 files changed, 12 insertions(+), 6 deletions(-)

diff --git a/force-app/main/default/classes/OrderPdf2ControllerTest.cls b/force-app/main/default/classes/OrderPdf2ControllerTest.cls
index 1cca8b0..efc5fdb 100644
--- a/force-app/main/default/classes/OrderPdf2ControllerTest.cls
+++ b/force-app/main/default/classes/OrderPdf2ControllerTest.cls
@@ -105,7 +105,8 @@
             EffectiveDate = Date.today(),
             Status = 'Draft',
             Pricebook2Id = pricebook.Id,
-            EndUser__c = contact.Id
+            EndUser__c = contact.Id,
+            EndUserD__c = contact.Id
            //ProductListApproveStatus__c = 'Reject'
         );
         insert order;
@@ -286,7 +287,8 @@
             EffectiveDate = Date.today(),
             Status = 'Draft',
             Pricebook2Id = pricebook.Id,
-            EndUser__c = contact.Id
+            EndUser__c = contact.Id,
+            EndUserD__c = contact.Id
         );
         insert order;
 
@@ -421,7 +423,8 @@
             EffectiveDate = Date.today(),
             Status = 'Draft',
             Pricebook2Id = pricebook.Id,
-            EndUser__c = contact.Id
+            EndUser__c = contact.Id,
+            EndUserD__c = contact.Id
            //ProductListApproveStatus__c = 'Reject'
         );
         insert order;
@@ -547,7 +550,8 @@
             EffectiveDate = Date.today(),
             Status = 'Draft',
             Pricebook2Id = pricebook.Id,
-            EndUser__c = contact.Id
+            EndUser__c = contact.Id,
+            EndUserD__c = contact.Id
         );
         insert order;
 
@@ -683,7 +687,8 @@
             EffectiveDate = Date.today(),
             Status = 'Draft',
             Pricebook2Id = pricebook.Id,
-            EndUser__c = contact.Id
+            EndUser__c = contact.Id,
+            EndUserD__c = contact.Id
            //ProductListApproveStatus__c = 'Reject'
         );
         insert order;
@@ -810,7 +815,8 @@
             EffectiveDate = Date.today(),
             Status = 'Draft',
             Pricebook2Id = pricebook.Id,
-            EndUser__c = contact.Id
+            EndUser__c = contact.Id,
+            EndUserD__c = contact.Id
         );
         insert order;
 

--
Gitblit v1.9.1