From e14d6d0619330cad423f06493e3aa2371faa2a8f Mon Sep 17 00:00:00 2001
From: 19626 <1962676589@qq.com>
Date: 星期六, 09 九月 2023 14:02:23 +0800
Subject: [PATCH] Sit期间修改

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

diff --git a/force-app/main/default/classes/NFM609FiledDownloadBatch.cls b/force-app/main/default/classes/NFM609FiledDownloadBatch.cls
index 0a9062b..b9e50a8 100644
--- a/force-app/main/default/classes/NFM609FiledDownloadBatch.cls
+++ b/force-app/main/default/classes/NFM609FiledDownloadBatch.cls
@@ -110,12 +110,14 @@
             if (ContentLength < 12582912) {
                 Blob bodyAsBlob = response.getBodyAsBlob();
                 version.VersionData = bodyAsBlob;
+                version.PathOnClient = attachmentName + '.txt';
                 // atta.Body = bodyAsBlob;
                 result.add(version);
             } else {
                 // atta.Name = '鏂囦欢澶у皬瓒呰繃12M,璇峰湪鏂版湇鍔$郴缁熸煡鐪�';
                 // atta.Body = Blob.valueOf('鏂囦欢澶у皬瓒呰繃12M');
                 version.Title = '鏂囦欢澶у皬瓒呰繃12M,璇峰湪鏂版湇鍔$郴缁熸煡鐪�';
+                version.PathOnClient = '鏂囦欢澶у皬瓒呰繃12M,璇峰湪鏂版湇鍔$郴缁熸煡鐪�.txt';
                 version.VersionData = Blob.valueOf('鏂囦欢澶у皬瓒呰繃12M');
                 result.add(version);
             }

--
Gitblit v1.9.1