From 24f9763120296b88667f0da4e398184a6aa3d3b7 Mon Sep 17 00:00:00 2001
From: 涂煌豪 <tuhuanghao@prec-tech.com>
Date: 星期四, 24 三月 2022 17:36:40 +0800
Subject: [PATCH] 维修委托书打印

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

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

--
Gitblit v1.9.1