mirror of
https://github.com/dromara/RuoYi-Vue-Plus.git
synced 2025-12-25 01:26:00 +08:00
fix 修复 listenerVariable.getVariable() 获取null问题
This commit is contained in:
@@ -74,6 +74,9 @@ public class WorkflowGlobalListener implements GlobalListener {
|
||||
String ext = listenerVariable.getNode().getExt();
|
||||
if (StringUtils.isNotBlank(ext)) {
|
||||
Map<String, Object> variable = listenerVariable.getVariable();
|
||||
if (CollUtil.isNotEmpty(variable)) {
|
||||
variable = new HashMap<>();
|
||||
}
|
||||
NodeExtVo nodeExt = nodeExtService.parseNodeExt(ext, variable);
|
||||
Set<String> copyList = nodeExt.getCopySettings();
|
||||
if (CollUtil.isNotEmpty(copyList)) {
|
||||
|
||||
Reference in New Issue
Block a user