From 81979353d2243d5eb3350dc5bf3855e8e910da4c Mon Sep 17 00:00:00 2001 From: Mr-wang Date: Mon, 31 Jul 2023 11:09:12 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=87=E4=BB=B6=E8=BF=9B=E8=A1=8C=E6=97=B6?= =?UTF-8?q?=E9=97=B4=E8=BF=9B=E8=A1=8C=E6=8E=92=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../designer/relation/web/DesignerRelationShapeWeb.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/com.actionsoft.apps.coe.pal/src/com/actionsoft/apps/coe/pal/pal/repository/designer/relation/web/DesignerRelationShapeWeb.java b/com.actionsoft.apps.coe.pal/src/com/actionsoft/apps/coe/pal/pal/repository/designer/relation/web/DesignerRelationShapeWeb.java index 9c027de0..626320a3 100755 --- a/com.actionsoft.apps.coe.pal/src/com/actionsoft/apps/coe/pal/pal/repository/designer/relation/web/DesignerRelationShapeWeb.java +++ b/com.actionsoft.apps.coe.pal/src/com/actionsoft/apps/coe/pal/pal/repository/designer/relation/web/DesignerRelationShapeWeb.java @@ -80,6 +80,7 @@ import org.apache.commons.lang.StringUtils; import java.io.File; import java.io.UnsupportedEncodingException; +import java.sql.Timestamp; import java.util.*; import java.util.stream.Collectors; @@ -4103,7 +4104,7 @@ public class DesignerRelationShapeWeb extends ActionWeb { Map macroLibraries = new HashMap<>(); BO bo = SDK.getBOAPI().query("BO_ACT_PAL_MODELING_GUIDANCE").addQuery("step=", step).addQuery("MODELTYPE=", modelType).detail(); String boId = bo == null ? "" : bo.getId(); - JSONArray filePathArray = new JSONArray(); + JSONArray filePathArray = new JSONArray(new LinkedList<>()); //附件列表 List formFiles = SDK.getBOAPI().getFiles(boId, "CONTENT"); for (FormFile formFile : formFiles) {