feat(flow): 工作台与轨迹优化 + 管理端启用回路 + 本地验签配置修复
build / build-push (push) Successful in 1m30s

- 已办去重: 同一办件一行 + doneCount 累计次数(FlwTaskRepository 查询去重)
- 发起/撤回/重提留痕事件行(状态码 6/7, 无需 DDL); /oapi/flow/progress steps 含撤回/重提步骤
- 管理端新增启用回路: POST /admin/map/enable/{id}、POST /admin/def/enable/{id}; GET /api/flow/def/source 源码查询
- 修复 findEnabledByOrdId 未过滤 status 的隐性缺陷; 新增 DeptLabelSupport 科室标签支撑
- 测试: FlowEngineIT 撤回留痕/已办去重断言、OapiFlowContractIT 撤回步骤断言(94 tests 全过)
- 本地验签修复: 本地 UserBase 无 context-path, yh.open.services 显式覆盖服务目录枚举兜底的 /userbase basePath, 否则出站签名与服务端剥离不对齐 → GetUserInfo 等全部「验签失败」; 生产经 Caddy 挂 /userbase 时删除 services 覆盖
This commit is contained in:
chenxing
2026-09-18 16:56:01 +08:00
parent 434aa9d185
commit 9cc0b06c29
18 changed files with 956 additions and 248 deletions
@@ -47,6 +47,11 @@ public final class FlowModels {
private String handleTime;
private String deadline;
private Integer urgeCount;
/**
* 已办专用:本人对该办件的累计办理次数(同一办件多节点办理/退回重办只出一行,
* 次数用这个字段兜住,前端提示"共办理 N 次");待办口径恒 null。
*/
private Integer doneCount;
}
/** 办件详情(办理页/详情页数据源) */
@@ -129,4 +134,20 @@ public final class FlowModels {
private String to;
private String name;
}
/**
* 流程定义源码(2026-09-18,「图示页-源码」抽屉数据源):只读展示/复制 contentJson,
* 可见性口径与 {@link DiagramVo} 完全一致(instanceId 走办件可见性守卫,flowGuid 只给最高已发布版)。
*/
@Data
public static class DefSourceVo {
private Long defId;
private String flowGuid;
private String code;
private String name;
private Integer version;
private Integer status;
/** 流程定义 JSON(nodes/edges/settings/layout,运行时格式) */
private String contentJson;
}
}