From c40d6d0f9aba576bf9af5961db86cde85c8ca566 Mon Sep 17 00:00:00 2001
From: 涂煌豪 <tuhuanghao@prec-tech.com>
Date: 星期五, 08 四月 2022 15:53:11 +0800
Subject: [PATCH] 先款后修-服务合同报价页面修改

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

diff --git a/force-app/main/default/classes/InsReportPDFController.cls b/force-app/main/default/classes/InsReportPDFController.cls
index 4d735eb..6e7fc96 100644
--- a/force-app/main/default/classes/InsReportPDFController.cls
+++ b/force-app/main/default/classes/InsReportPDFController.cls
@@ -11,6 +11,11 @@
     public String endfen {get;set;}
     //add by rentx 20210707 end
     
+    // 20220222 PI鏀归�� by Bright---start
+    public string staticResource { get; private set; }
+    public string staticResourceFile { get; private set; }
+    // 20220222 PI鏀归�� by Bright---end
+
     public Integer getItemCount() {
         return itemList.size();
     }
@@ -27,6 +32,13 @@
     
     private static Integer commentMax = 15;
     
+    public InsReportPDFController(){
+        // 20220222 PI鏀归�� by Bright---start
+        staticResource = JSON.serialize(PIHelper.getPIIntegrationInfo('Inspection_Report__c'));
+        staticResourceFile = JSON.serialize(PIHelper.getPIIntegrationInfo('Document'));
+        // 20220222 PI鏀归�� by Bright---end
+    }
+
     public void init() {
         //add by rentx 20210707 start
         startfen = '';

--
Gitblit v1.9.1