From e3c02c03dd2de442bbced87236f60a13a1cd154e Mon Sep 17 00:00:00 2001
From: 高章伟 <gaozhangwei@prec-tech.com>
Date: 星期四, 02 三月 2023 17:51:57 +0800
Subject: [PATCH] gzw 正式环境最新代码更新
---
force-app/main/default/classes/FileUploadController.cls | 15 +++++++++++++--
1 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/force-app/main/default/classes/FileUploadController.cls b/force-app/main/default/classes/FileUploadController.cls
index 13cb178..440359f 100644
--- a/force-app/main/default/classes/FileUploadController.cls
+++ b/force-app/main/default/classes/FileUploadController.cls
@@ -61,9 +61,20 @@
}
public static List<FileAddress__c> getFileds(String parentId){
+ // SWAG-C9S9P6 2022-05-25 ssm start
+ // 鏂囦欢鍦板潃閲屽鍔犳嫑鏍囬」鐩笓鐢ㄥ瓧娈碉紙淇℃伅Id銆侀」鐩樁娈点�佹洿鏂版棩鏈燂級
if(String.isNotBlank(parentId)){
- return [SELECT Id,ParentRecordId__c, FileName__c,DownloadLink__c,FileAddress__c.ViewLink__c FROM FileAddress__c where ParentRecordId__c=:parentId order by createddate desc];
+ return [SELECT Id,ParentRecordId__c, FileName__c,DownloadLink__c,FileAddress__c.ViewLink__c
+ // SWAG-C9S9P6 鏂板瀛楁 start
+ , InfoId__c, InfoType__c, subInfoType__c, UpdateDate__c
+ // SWAG-C9S9P6 鏂板瀛楁 end
+ FROM FileAddress__c where ParentRecordId__c=:parentId order by createddate desc];
}
- return [SELECT Id, ParentRecordId__c,FileName__c,DownloadLink__c,FileAddress__c.ViewLink__c FROM FileAddress__c order by createddate desc limit 100];
+ return [SELECT Id, ParentRecordId__c,FileName__c,DownloadLink__c,FileAddress__c.ViewLink__c
+ // SWAG-C9S9P6 鏂板瀛楁 start
+ , InfoId__c, InfoType__c, subInfoType__c, UpdateDate__c
+ // SWAG-C9S9P6 鏂板瀛楁 end
+ FROM FileAddress__c order by createddate desc limit 100];
+ // SWAG-C9S9P6 2022-05-25 ssm end
}
}
\ No newline at end of file
--
Gitblit v1.9.1