feat(xispeak): 部门审批信息改为持久化到业务表单JSON,不再依赖流程引擎变量

- DeptApproveDetail 新增 isEnd/implWorker 字段
- 新增 saveSubApprove 接口,直接写入 approveInfo JSON
- XiSpeakFlow: getImplDeptLeaderIsEnd/getDeptWorkerList 改为 JSON 优先 + 流程变量兜底,兼容旧流程实例
- XiSpeakFlow: 新增 getImplDeptIsEnd(execution, deptId) 流程表达式
- XiSpeakFeedbackFlow: 新增 getImplDeptIsEnd/getImplLeaderAsWorker,提炼公共 getDeptApproveDetailByTask
- FlowNodeExpression: 新增 getSonProcessVariableInt/getSonProcessVariableBoolean 类型安全工具方法

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
wsm
2026-05-27 20:25:43 +08:00
co-authored by Claude Opus 4.7
parent 1b49fdbbe0
commit 68eec9f2a2
8 changed files with 212 additions and 44 deletions
@@ -17,6 +17,7 @@ flow-biz:
tem-impl-leader-key: "tem_impl_leader"
tem-bg-leader-key: "tem_bg_leader"
sdw-leader-list-key: "sdwLeaderList"
is-end-key: "isEnd"
xi-speak-fb:
dept-id: "x"
business-id: "business_id"