流程节点异步执行
This commit is contained in:
@@ -2,6 +2,8 @@ package com.sdm.common.entity.enums;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Schema(description = "文件夹类型枚举")
|
||||
public enum DirTypeEnum {
|
||||
/**
|
||||
@@ -64,4 +66,12 @@ public enum DirTypeEnum {
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
// 初始化用户业务库目录
|
||||
private static final List<DirTypeEnum> INIT_SPMD_DIR = List.of(
|
||||
DirTypeEnum.KNOWLEDGE_BASE_DIR, DirTypeEnum.PROJECT_NODE_DIR,
|
||||
DirTypeEnum.AVATAR_DIR, DirTypeEnum.SIMULATION_PARAMETER_DIR, DirTypeEnum.TRAIN_MODEL_DIR,DirTypeEnum.SCRIPT_DIR);
|
||||
public static final List<DirTypeEnum> getInitSpmdDir() {
|
||||
return INIT_SPMD_DIR;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -15,4 +15,5 @@ public class NodeDetailInfo extends NodeStructureInfo{
|
||||
private Date endTime;
|
||||
private Long durationInMillis;
|
||||
private String durationFormatted;
|
||||
private String errorMessage;
|
||||
}
|
||||
@@ -7,8 +7,8 @@ public class ExportWordScriptExecuteConfig extends BaseExecuteConfig {
|
||||
// 输入节点id
|
||||
private String beforeNodeId;
|
||||
// 文件正则表达式,用于匹配输入文件夹下的文件名
|
||||
private String fileRegularStr="^aa\\.xml$";
|
||||
private String fileRegularStr="^.+\\.(jpg|jpeg|png|gif|bmp|webp|svg|tiff|tif)$";
|
||||
|
||||
// 导出脚本文件id
|
||||
private Long exportScriptFileId;
|
||||
private Long exportScriptFileId = 4462L;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user