diff --git a/data-config/query-config.json b/data-config/query-config.json index 3ed7cbf..fdae3fb 100644 --- a/data-config/query-config.json +++ b/data-config/query-config.json @@ -1,7 +1,7 @@ { "disDates": "2023-01-01 00:00:00", "disDatee": "2023-12-31 11:59:59", - "downPath": "", + "downPath": "D:\\pdfs", "url": "http://192.168.12.121:3000/ws/service?wsdl", "targetNamespace": "http://ws.sie.com", "method": "service", diff --git a/src/main/java/com/docus/server/message/busservice/impl/ZxjhBusinessServiceImpl.java b/src/main/java/com/docus/server/message/busservice/impl/ZxjhBusinessServiceImpl.java index f1fcffa..34fe828 100644 --- a/src/main/java/com/docus/server/message/busservice/impl/ZxjhBusinessServiceImpl.java +++ b/src/main/java/com/docus/server/message/busservice/impl/ZxjhBusinessServiceImpl.java @@ -302,7 +302,7 @@ public class ZxjhBusinessServiceImpl implements ZxjhBusinessService { //本地文件名 String fileName = UUID.randomUUID()+end; // 假设要下载的文件名为example.pdf //文件本地存储路径 - String localFilePath = downPath + fileName; + String localFilePath = downPath +File.separator+ fileName; URI uri = new URI(sourcePath); String host = uri.getHost();