From 34951256dac36de932652763c4ad930ac863b39f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=A2=81=E4=B8=9C=E5=BC=BA?= <1559301693@qq.com> Date: Sun, 27 Jul 2025 10:46:02 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E4=BD=BF=E7=94=A8=E7=8A=B6?= =?UTF-8?q?=E6=80=81=E3=80=81=E6=9C=80=E5=90=8E=E4=BF=AE=E6=94=B9=E6=97=B6?= =?UTF-8?q?=E9=97=B4=E3=80=81=E6=96=87=E4=BB=B6ID=E3=80=81=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E7=BB=84ID?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../processlist/web/PALRepositoryListWeb.java | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/com.actionsoft.apps.coe.pal.processlist/src/com/actionsoft/apps/coe/pal/processlist/web/PALRepositoryListWeb.java b/com.actionsoft.apps.coe.pal.processlist/src/com/actionsoft/apps/coe/pal/processlist/web/PALRepositoryListWeb.java index 2c21d89d..8d10c74c 100644 --- a/com.actionsoft.apps.coe.pal.processlist/src/com/actionsoft/apps/coe/pal/processlist/web/PALRepositoryListWeb.java +++ b/com.actionsoft.apps.coe.pal.processlist/src/com/actionsoft/apps/coe/pal/processlist/web/PALRepositoryListWeb.java @@ -81,6 +81,8 @@ import com.actionsoft.sdk.local.SDK; * 流程清单-web */ public class PALRepositoryListWeb extends ActionWeb { + private static SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); + UserContext _uc; public PALRepositoryListWeb() { } @@ -889,6 +891,15 @@ public class PALRepositoryListWeb extends ActionWeb { JSONObject statusObj = getJsonObject("status", "status", "状态", "状态", "150", "150", false, columnType, "selectStatus"); statusObj.put("filters", getProcessStatusFilters()); map.put("status", statusObj); + + //使用状态 + map.put("is_use", getJsonObject("is_use", "is_use", "使用状态", "使用状态", "150", "150", false, columnType, "default")); + //最后修改时间 + map.put("modify_date", getJsonObject("modify_date", "modify_date", "修改时间", "修改时间", "150", "150", false, columnType, "default")); + //文件ID + map.put("file_id", getJsonObject("file_id", "file_id", "文件ID", "文件ID", "150", "150", false, columnType, "default")); + //文件组ID + map.put("group_id", getJsonObject("group_id", "group_id", "文件组ID", "文件组ID", "150", "150", false, columnType, "default")); // map.put("parent_name",getJsonObject("parent_name","parent_name","上级名称","上级名称","250","250",false,columnType,"name")); } return map; @@ -1116,6 +1127,20 @@ public class PALRepositoryListWeb extends ActionWeb { return model.getInput(); case "output": return model.getOutput(); + case "is_use": + return model.isUse()?"使用中":"非使用中"; + case "modify_date": + String modifyDate = ""; + try { + modifyDate = sdf.format(model.getModifyDate()); + } catch (Exception e) { + e.getMessage(); + } + return modifyDate; + case "file_id": + return model.getId(); + case "group_id": + return model.getVersionId(); default: return ""; }