mirror of
https://github.com/dromara/RuoYi-Vue-Plus.git
synced 2025-09-30 07:06:39 +08:00
调整ObjectNode.put警告
This commit is contained in:
parent
1f7d8b52af
commit
69ea22527b
@ -173,11 +173,11 @@ public class ActModelServiceImpl implements IActModelService {
|
||||
BpmnModel bpmnModel = new BpmnXMLConverter().convertToBpmnModel(xtr);
|
||||
BpmnJsonConverter bpmnJsonConverter = new BpmnJsonConverter();
|
||||
ObjectNode jsonNodes = bpmnJsonConverter.convertToJson(bpmnModel);
|
||||
modelNode.put("model", jsonNodes);
|
||||
modelNode.set("model", jsonNodes);
|
||||
} else {
|
||||
ObjectNode editorJsonNode = (ObjectNode) objectMapper.readTree(
|
||||
new String(repositoryService.getModelEditorSource(model.getId()), StandardCharsets.UTF_8));
|
||||
modelNode.put("model", editorJsonNode);
|
||||
modelNode.set("model", editorJsonNode);
|
||||
}
|
||||
|
||||
} catch (Exception e) {
|
||||
|
Loading…
Reference in New Issue
Block a user