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/QuotePDFController.cls | 17 +---------------- 1 files changed, 1 insertions(+), 16 deletions(-) diff --git a/force-app/main/default/classes/QuotePDFController.cls b/force-app/main/default/classes/QuotePDFController.cls index 1040798..9651bb6 100644 --- a/force-app/main/default/classes/QuotePDFController.cls +++ b/force-app/main/default/classes/QuotePDFController.cls @@ -83,17 +83,9 @@ 'ZZTT' => '100% TT IN ADVANCE' }; - public String staticResourceOpportunity{get; private set; }// 20220221 PI鏀归�� by Bright - public String staticResourceContact{get; private set; }// 20220221 PI鏀归�� by Bright - public String staticResourceFile{get; private set; }// 20220221 PI鏀归�� by Bright - - public QuotePDFController() { targetId = ApexPages.currentPage().getParameters().get('Id'); isPrintPrice = ApexPages.currentPage().getParameters().get('printprice'); - staticResourceOpportunity = JSON.serialize(PIHelper.getPIIntegrationInfo('Opportunity'));// 20220221 PI鏀归�� by Bright - staticResourceContact = JSON.serialize(PIHelper.getPIIntegrationInfo('Contact'));// 20220221 PI鏀归�� by Bright - staticResourceFile = JSON.serialize(PIHelper.getPIIntegrationInfo('Document'));// 20220221 PI鏀归�� by Bright } // 鐢婚潰鍒濆鍖� @@ -126,7 +118,6 @@ SetName16__c, SetQty16__c, SetName17__c, SetQty17__c, SetName18__c, SetQty18__c, SetName19__c, SetQty19__c, SetName20__c, SetQty20__c, SetName21__c, SetQty21__c, SetName22__c, SetQty22__c, SetName23__c, SetQty23__c, SetName24__c, SetQty24__c, SetName25__c, SetQty25__c, SetName26__c, SetQty26__c, SetName27__c, SetQty27__c, SetName28__c, SetQty28__c, SetName29__c, SetQty29__c, SetName30__c, SetQty30__c, - Opportunity.AWS_Data_Id__c,// 20220221 PI鏀归�� by Bright Custom_Price_Total__c, Custom_Price_Total_Text__c, Shipment_Term__c from Quote where Id = :targetId]; @@ -163,9 +154,7 @@ } Contact con = new Contact(); if (conid != null && conid.length() > 0) { - con = [select Id, Name, Phone, Email, - AWS_Data_Id__c,// 20220221 PI鏀归�� by Bright - Account.Name from Contact where Id = :conid]; + con = [select Id, Name, Phone, Email, Account.Name from Contact where Id = :conid]; } // PDF鎶ヤ环淇℃伅 quoteInfo = new QuoteInfo(quo, dealer, con); @@ -226,8 +215,6 @@ public String note5 {get; private set;} public String note6 {get; private set;} public String note7 {get; private set;} - public String conAwsDataId {get; private set;} - public String oppAwsDataId {get; private set;} public QuoteInfo(Quote quo, Account acc, Contact con) { printPrice = quo.PrintPrice__c; @@ -264,8 +251,6 @@ note5 = quo.Shipment_Term__c; note6 = quo.Opportunity.TradeType__c == 'Taxation' ? 'tax included' : 'tax exempted'; note7 = quo.Opportunity.TradeType__c == 'Taxation' ? '鍚◣' : '鍏嶇◣'; - conAwsDataId = con.aws_data_id__c; // 20220222 PI鏀归�� by Bright - oppAwsDataId = quo.Opportunity.aws_data_id__c;// 20220222 PI鏀归�� by Bright } } -- Gitblit v1.9.1