Pre Merge pull request !698 from 红藕香残玉簟秋/bug-fix

This commit is contained in:
红藕香残玉簟秋 2025-06-23 08:56:25 +00:00 committed by Gitee
commit 365a432f83
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -70,7 +70,8 @@ public class CompleteTaskBo implements Serializable {
public Map<String, Object> getVariables() { public Map<String, Object> getVariables() {
if (variables == null) { if (variables == null) {
return new HashMap<>(16); variables = new HashMap<>(16);
return variables;
} }
variables.entrySet().removeIf(entry -> Objects.isNull(entry.getValue())); variables.entrySet().removeIf(entry -> Objects.isNull(entry.getValue()));
return variables; return variables;