fix:算例新增流程模版字段

This commit is contained in:
2026-03-25 10:53:33 +08:00
parent 8175a6e5a9
commit 9abb4834eb
4 changed files with 15 additions and 3 deletions

View File

@@ -132,4 +132,7 @@ public class SimulationRun implements Serializable {
@TableField("reportContent")
private String reportContent;
@Schema(description= "流程模版显示信息")
@TableField("viewContent")
private String viewContent;
}

View File

@@ -859,6 +859,7 @@ public class SimulationRunServiceImpl extends ServiceImpl<SimulationRunMapper, S
SdmResponse<FlowTemplateResp> flowTemplateResp = flowFeignClient.queryFlowTemplateInfo(simulationRun.getFlowTemplate());
if (flowTemplateResp.getData() != null) {
simulationRun.setProcessDefinitionId(flowTemplateResp.getData().getProcessDefinitionId());
simulationRun.setViewContent(flowTemplateResp.getData().getViewContent());
this.updateById(simulationRun);
try {
List<FlowNodeDto> flowNodeDtoList = new ArrayList<>();