From 095be8743dbf24ed27e7647b7f2f35f6b5b9de2d Mon Sep 17 00:00:00 2001 From: liulixin Date: Thu, 18 Jan 2024 18:00:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=93=E7=B3=BB=E6=96=87=E4=BB=B6=E6=89=B9?= =?UTF-8?q?=E9=87=8F=E4=B8=8A=E4=BC=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/zcloud/controller/filemanager/MfolderController.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/zcloud/controller/filemanager/MfolderController.java b/src/main/java/com/zcloud/controller/filemanager/MfolderController.java index b7c354a9..5e12c8c9 100644 --- a/src/main/java/com/zcloud/controller/filemanager/MfolderController.java +++ b/src/main/java/com/zcloud/controller/filemanager/MfolderController.java @@ -140,6 +140,7 @@ public class MfolderController extends BaseController { @RequestParam(value = "SHARE", required = false) String SHARE) throws Exception { Map map = new HashMap<>(); ArrayList pictureList = new ArrayList<>(); + List mfolderServiceList = new ArrayList(); String errInfo = "success"; PageData pd = new PageData(); if (files != null && files.length > 0) { @@ -179,13 +180,15 @@ public class MfolderController extends BaseController { pictureList.add(Const.FILEPATHFILE + Jurisdiction.getCORPINFO_ID() + "/" + ffile + "/" + fileName+ "@@" +fileName); + mfolderServiceList.add(pd); mfolderService.save(pd); // 存入数据库表 } else { errInfo = "fail"; } } } - map.put("sendPicturesList", JSON.toJSONString(pictureList)); + map.put("sendPicturesList", JSON.toJSONString(mfolderServiceList)); + map.put("mfolderServiceList", JSON.toJSONString(pictureList)); map.put("dockData", JSON.toJSONString(pd)); map.put("result", errInfo); // 返回结果 return map;