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) {