mirror of
https://github.com/dromara/RuoYi-Vue-Plus.git
synced 2025-10-09 03:26:40 +08:00
Compare commits
No commits in common. "8d7358e66360b4d49ae4ec9e43d06d527638fae7" and "48213bc9c9bd0c5b386894bf5663217073946d56" have entirely different histories.
8d7358e663
...
48213bc9c9
@ -371,10 +371,6 @@ public class FlwInstanceServiceImpl implements IFlwInstanceService {
|
||||
}
|
||||
try {
|
||||
Map<String, Object> variableMap = new HashMap<>(Optional.ofNullable(flowInstance.getVariableMap()).orElse(Collections.emptyMap()));
|
||||
if (!variableMap.containsKey(bo.getKey())) {
|
||||
log.error("变量不存在: {}", bo.getKey());
|
||||
return false;
|
||||
}
|
||||
variableMap.put(bo.getKey(), bo.getValue());
|
||||
flowInstance.setVariable(FlowEngine.jsonConvert.objToStr(variableMap));
|
||||
flowInstanceMapper.updateById(flowInstance);
|
||||
|
Loading…
Reference in New Issue
Block a user