From defe1e1c3ade87de0a7990f565f08f93aeb2decc Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期日, 08 十一月 2026 19:31:46 +0800
Subject: [PATCH] fix(bpm): 统一审批标题单号并收紧各模块提交校验
---
yudao-module-bpm/src/main/java/cn/iocoder/yudao/module/bpm/framework/flowable/core/util/FlowableUtils.java | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/yudao-module-bpm/src/main/java/cn/iocoder/yudao/module/bpm/framework/flowable/core/util/FlowableUtils.java b/yudao-module-bpm/src/main/java/cn/iocoder/yudao/module/bpm/framework/flowable/core/util/FlowableUtils.java
index 6dc6ae3..2a80e32 100644
--- a/yudao-module-bpm/src/main/java/cn/iocoder/yudao/module/bpm/framework/flowable/core/util/FlowableUtils.java
+++ b/yudao-module-bpm/src/main/java/cn/iocoder/yudao/module/bpm/framework/flowable/core/util/FlowableUtils.java
@@ -175,8 +175,9 @@
* @return 杩囨护鍚庣殑琛ㄥ崟
*/
public static Map<String, Object> filterProcessInstanceFormVariable(Map<String, Object> processVariables) {
- processVariables.remove(BpmnVariableConstants.PROCESS_INSTANCE_VARIABLE_STATUS);
- return processVariables;
+ Map<String, Object> filteredVariables = new HashMap<>(processVariables);
+ filteredVariables.remove(BpmnVariableConstants.PROCESS_INSTANCE_VARIABLE_STATUS);
+ return filteredVariables;
}
/**
--
Gitblit v1.9.3