Compare commits

..

No commits in common. "8d7358e66360b4d49ae4ec9e43d06d527638fae7" and "48213bc9c9bd0c5b386894bf5663217073946d56" have entirely different histories.

View File

@ -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);