fix 修复 监听器变量使用错误

This commit is contained in:
疯狂的狮子Li
2025-07-24 15:24:10 +08:00
parent 30653c6d0f
commit 36e18aa71e

View File

@@ -157,7 +157,7 @@ public class WorkflowGlobalListener implements GlobalListener {
flwTaskService.setCopy(task, flowCopyList);
}
if (variable.containsKey(FlowConstant.MESSAGE_TYPE)) {
List<String> messageType = MapUtil.get(variable, FlowConstant.FLOW_COPY_LIST, new TypeReference<>() {});
List<String> messageType = MapUtil.get(variable, FlowConstant.MESSAGE_TYPE, new TypeReference<>() {});
String notice = MapUtil.getStr(variable, FlowConstant.MESSAGE_NOTICE);
// 消息通知
if (CollUtil.isNotEmpty(messageType)) {