From 2c07f3c1cf4092fd42e3022c56d1bcf8fcc9438e Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期二, 15 八月 2023 15:32:14 +0800
Subject: [PATCH] 代码提交

---
 ruoyi-project/src/main/java/com/ruoyi/project/service/impl/ServiceFundServiceImpl.java |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/ruoyi-project/src/main/java/com/ruoyi/project/service/impl/ServiceFundServiceImpl.java b/ruoyi-project/src/main/java/com/ruoyi/project/service/impl/ServiceFundServiceImpl.java
index 02fefa1..3af0d38 100644
--- a/ruoyi-project/src/main/java/com/ruoyi/project/service/impl/ServiceFundServiceImpl.java
+++ b/ruoyi-project/src/main/java/com/ruoyi/project/service/impl/ServiceFundServiceImpl.java
@@ -151,7 +151,7 @@
             serviceFunddetailShareds.get(i).setFundid(serviceFundShared.getId());
             serviceFunddetailShareds.get(i).setId(null);
             //鏁版嵁鍙戦�佺粰璐㈠姟
-          //  uploadOAFileAndUpdateDb(serviceFunddetailShareds.get(i));
+            uploadOAFileAndUpdateDb(serviceFunddetailShareds.get(i));
         }
         boolean result = detailSharedService.saveBatch(serviceFunddetailShareds);
         return result;
@@ -774,6 +774,7 @@
         String strFUrl = "http://129.88.242.39:8899/seeyon/rest/attachment?token=" + strRes;
         List<RbDetailFile> parseArray2 = new ArrayList<>();
         List<RbDetailFile> parseArray = JSON.parseArray(remShare.getAnnexfiles(), RbDetailFile.class);
+        log.info("parseArray鐨勫�� : {}",parseArray);
         for (int i = 0; i < parseArray.size(); i++) {
             RbDetailFile rbDetailFile = parseArray.get(i);
             log.info("filePath鐨勪慨鏀�:{}", filePath);
@@ -781,6 +782,7 @@
             //file鐢ㄧ殑鏄粷瀵逛綅缃�
             String substring = url.substring(url.indexOf("/profile/upload") + "/profile/upload".length());
 //            String strFile = rbDetailFile.getUrl().replace(filePath, "/profile/upload");
+            System.out.println("fund鏈嶅姟鐨刦ilePath + substring: " + filePath + substring);
             File filetest = new File(filePath + substring);
 
             try {

--
Gitblit v1.9.3