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;