fix:算例新增流程模版字段
This commit is contained in:
4
.gitignore
vendored
4
.gitignore
vendored
@@ -81,3 +81,7 @@
|
||||
/.cursor/rules/1.mdc
|
||||
/.trae/rules/1.md
|
||||
/outbridge/target/classes/common-dev-100.yml
|
||||
/outbridge/target/classes/com/sdm/outbridge/entity/LyricVAttachmentConfigToDM.class
|
||||
/outbridge/target/classes/com/sdm/outbridge/secondDao/LyricVAttachmentConfigMapper.class
|
||||
/outbridge/target/classes/com/sdm/outbridge/service/impl/lyric/LyricVAttachmentConfigServiceImpl.class
|
||||
/outbridge/target/classes/com/sdm/outbridge/service/lyric/LyricVAttachmentConfigService.class
|
||||
|
||||
@@ -67,7 +67,10 @@ public enum DirTypeEnum {
|
||||
* 公差分析库
|
||||
*/
|
||||
@Schema(description = "公差分析库文件夹", example = "11")
|
||||
TOLERANCE_ANALYSIS_DIR("toleranceAnalysis", 11, "公差分析库");
|
||||
TOLERANCE_ANALYSIS_DIR("toleranceAnalysis", 11, "公差分析库"),
|
||||
|
||||
@Schema(description = "异常库", example = "12")
|
||||
EXCEPTION_DIR("exception", 12, "异常库");
|
||||
|
||||
/** 目录名称(英文,用于MinIO路径) */
|
||||
String dirName;
|
||||
@@ -123,11 +126,12 @@ public enum DirTypeEnum {
|
||||
|
||||
/**
|
||||
* 需要走审批流程的目录类型列表
|
||||
* 目前包括:知识库、公差分析库
|
||||
* 目前包括:知识库、公差分析库、异常库
|
||||
*/
|
||||
private static final List<DirTypeEnum> APPROVAL_REQUIRED_DIRS = List.of(
|
||||
DirTypeEnum.KNOWLEDGE_BASE_DIR,
|
||||
DirTypeEnum.TOLERANCE_ANALYSIS_DIR
|
||||
DirTypeEnum.TOLERANCE_ANALYSIS_DIR,
|
||||
DirTypeEnum.EXCEPTION_DIR
|
||||
);
|
||||
|
||||
/**
|
||||
|
||||
@@ -132,4 +132,7 @@ public class SimulationRun implements Serializable {
|
||||
@TableField("reportContent")
|
||||
private String reportContent;
|
||||
|
||||
@Schema(description= "流程模版显示信息")
|
||||
@TableField("viewContent")
|
||||
private String viewContent;
|
||||
}
|
||||
|
||||
@@ -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<>();
|
||||
|
||||
Reference in New Issue
Block a user