Li Jun
2022-04-06 fb04e7c01d119c60632b4298d18fd93f3ccb3d79
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 = '';