diff --git a/com.actionsoft.apps.coe.pal/lib/com.actionsoft.apps.coe.pal.jar b/com.actionsoft.apps.coe.pal/lib/com.actionsoft.apps.coe.pal.jar index f8cdff34..9c6e7c71 100644 Binary files a/com.actionsoft.apps.coe.pal/lib/com.actionsoft.apps.coe.pal.jar and b/com.actionsoft.apps.coe.pal/lib/com.actionsoft.apps.coe.pal.jar differ diff --git a/com.actionsoft.apps.coe.pal/src/com/actionsoft/apps/coe/pal/pal/output/util/OutputWordUtil.java b/com.actionsoft.apps.coe.pal/src/com/actionsoft/apps/coe/pal/pal/output/util/OutputWordUtil.java index 231d3fd7..a5e768d6 100755 --- a/com.actionsoft.apps.coe.pal/src/com/actionsoft/apps/coe/pal/pal/output/util/OutputWordUtil.java +++ b/com.actionsoft.apps.coe.pal/src/com/actionsoft/apps/coe/pal/pal/output/util/OutputWordUtil.java @@ -1031,8 +1031,8 @@ public class OutputWordUtil { //支持文件 - JSONArray supportfiles = new JSONArray(); //组织职责Table - List relationList = DesignerShapeRelationCache.getListByAttrId(repositoryModel.getId(), "", "support_files"); + JSONArray related_support_files = new JSONArray(); //组织职责Table + List relationList = DesignerShapeRelationCache.getListByAttrId(repositoryModel.getId(), "", "related_support_files"); relationList.sort(Comparator.comparing(DesignerShapeRelationModel::getShapeText)); @@ -1053,7 +1053,7 @@ public class OutputWordUtil { JSONObject tmp = new JSONObject(); tmp.put("name", name); tmp.put("desc", index); - supportfiles.add(tmp); + related_support_files.add(tmp); } @@ -1073,10 +1073,10 @@ public class OutputWordUtil { //定义表格数据 String[] header = {"序号", "文件名称"}; - String[][] strArray2 = new String[supportfiles.size()][]; + String[][] strArray2 = new String[related_support_files.size()][]; List list = new LinkedList<>(); - for (int i = 0; i < supportfiles.size(); i++) { - JSONObject jsonObject = supportfiles.getJSONObject(i); + for (int i = 0; i < related_support_files.size(); i++) { + JSONObject jsonObject = related_support_files.getJSONObject(i); String[] strArray = new String[2]; strArray[0] = jsonObject.getString("desc").toString(); strArray[1] = jsonObject.getString("name").toString();