From 2f4492ee18f90274582fcc2bb06f5e9bf64136e8 Mon Sep 17 00:00:00 2001 From: buli <137736985@qq.com> Date: 星期五, 13 五月 2022 17:32:14 +0800 Subject: [PATCH] ProdBackup0513 --- force-app/main/default/classes/OrderPdfController.cls | 17 ++--------------- 1 files changed, 2 insertions(+), 15 deletions(-) diff --git a/force-app/main/default/classes/OrderPdfController.cls b/force-app/main/default/classes/OrderPdfController.cls index 2b1c117..f948883 100644 --- a/force-app/main/default/classes/OrderPdfController.cls +++ b/force-app/main/default/classes/OrderPdfController.cls @@ -62,10 +62,6 @@ public List<OrderItem> oiList {get; set;} - public String staticResourceContact { get; private set; }// PI鏀归�� By Bright 20220422 - public String staticResourceOrder { get; private set; }// PI鏀归�� By Bright 20220422 - public String staticResourceFile { get; private set; }// PI鏀归�� By Bright 20220422 - // The extension constructor initializes the private member // variable mysObject by using the getRecord method from the standard // controller. @@ -79,10 +75,6 @@ } else if (path.indexOf('production/') > 0) { baseUrl += '/production'; } - - staticResourceContact = JSON.serialize(PIHelper.getPIIntegrationInfo('Contact'));// PI鏀归�� By Bright 20220422 - staticResourceOrder = JSON.serialize(PIHelper.getPIIntegrationInfo('Order'));// PI鏀归�� By Bright 20220422 - staticResourceFile = JSON.serialize(PIHelper.getPIIntegrationInfo('Document'));// PI鏀归�� By Bright 20220422 } public PageReference init() { od = new Order(); @@ -264,9 +256,7 @@ } specialDeliveryContact = new Contact(); if (od.SpecialDeliveryContact2_D__c != null) { - specialDeliveryContact = [select Id, Name, - AWS_Data_Id__c,// 20220222 PI鏀归�� by Bright - Email from Contact where Id = :od.SpecialDeliveryContact2_D__c]; + specialDeliveryContact = [select Id, Name, Email from Contact where Id = :od.SpecialDeliveryContact2_D__c]; } } @@ -546,7 +536,6 @@ PDF_C_Address__c, PDF_C_TEL__c, PDF_C_FAX__c, PDF_C_CONTACT__c , PDF_G_TrAndPre__c , PDF_G_SpecNo__c, PDF_F_Add__c, PDF_F_ContactPerson__c, Opportunity.SpecialDeliveryAddress__c, Opportunity.SpecialDeliveryContact__c, Shipment_Term__c, Shipment_Term_D__c, Shipment_Term2__c, Shipment_Term2_D__c, SpecialDeliveryAccount__c, SpecialDeliveryAccount_D__c, SpecialDeliveryContact2__c, SpecialDeliveryContact2_D__c, PDF_Order_No__c, DeliveryTimeText__c, DeliveryTimeTextEn__c, Total_price_E__c, ContractPriceTotal__c, - AWS_Data_Id__c,// 20220222 PI鏀归�� by Bright PDF_Shipment_Term2_Text__c, PDF_PaymentTerms__c, PDF_PaymentTerms_E__c, PDF_Sign_Name__c, PDF_Sign_Title__c,PDF_Sp_LOADING__c,PDF_Sp_LOADING_E__c from Order where id = :Id]; @@ -567,9 +556,7 @@ } specialDeliveryContact = new Contact(); if (odpdf.SpecialDeliveryContact2_D__c != null) { - specialDeliveryContact = [select Id, Name, - AWS_Data_Id__c,// 20220222 PI鏀归�� by Bright - Email from Contact where Id = :odpdf.SpecialDeliveryContact2_D__c]; + specialDeliveryContact = [select Id, Name, Email from Contact where Id = :odpdf.SpecialDeliveryContact2_D__c]; } List<Quote> quoList = [select Id, Name, CreatedDate, OpportunityId, Opportunity.Dealer__c, Opportunity.DealerSalesStaffName__c, AccountId, PrintPrice__c, TotalPrice, -- Gitblit v1.9.1