From 8badb57ea2c82557850ad5b39281c3e8714eb119 Mon Sep 17 00:00:00 2001
From: liuyan <liuyan@prec-tech.com>
Date: 星期四, 24 十一月 2022 10:08:31 +0800
Subject: [PATCH] 科室信息漏传SPO问题
---
force-app/main/default/classes/FileUploadController.cls | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/force-app/main/default/classes/FileUploadController.cls b/force-app/main/default/classes/FileUploadController.cls
index cfd13a7..13cb178 100644
--- a/force-app/main/default/classes/FileUploadController.cls
+++ b/force-app/main/default/classes/FileUploadController.cls
@@ -23,6 +23,8 @@
global static Response saveFile(String fileName,String key,String transId,String parentId){
FileAddress__c file = new FileAddress__c();
PIHelper.PIIntegration pI=PIHelper.getPIIntegrationInfo('Document');
+ // 鍘婚櫎filename閲屽緱鈥�&鈥� bysushanhu 20220414
+ fileName = fileName.remove('&');
file.DownloadLink__c =pI.undeleteUrl+key+'&fileName='+fileName;
file.FileName__c =fileName;
file.ViewLink__c =pI.queryUrl+key;
--
Gitblit v1.9.1