修改:工作流对接,任务提交参数优化
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
package com.sdm.common.entity.req.pbs;
|
||||
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 仿真工具命令占位符配置表
|
||||
* </p>
|
||||
*
|
||||
* @author author
|
||||
* @since 2025-12-01
|
||||
*/
|
||||
@Data
|
||||
public class SimulationCommandPlaceholderReq implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(description = "自增主键")
|
||||
private Long id;
|
||||
|
||||
@Schema(description = "占位符英文名称")
|
||||
private String keyEnName;
|
||||
|
||||
@Schema(description = "占位符中文名称")
|
||||
private String keyCnName;
|
||||
|
||||
@Schema(description = "占位符值的类型(file_exact_match:文件完全匹配;file_regex_match:文件正则匹配," +
|
||||
"hpc_file_select:Hpc节点文件选择,hpc_file_regex_match:Hpc节点目录正则,local_file_select:本地文件选择,custom_input:用户自定义输入值")
|
||||
private String valueType;
|
||||
|
||||
@Schema(description = "占位符的值,用户输入后赋值传递")
|
||||
private String inputValue="";
|
||||
|
||||
}
|
||||
@@ -1,5 +1,7 @@
|
||||
package com.sdm.common.entity.req.pbs;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.FieldStrategy;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.sdm.common.entity.flowable.executeConfig.BaseExecuteConfig;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
@@ -11,6 +13,9 @@ import java.util.Map;
|
||||
@Data
|
||||
public class SubmitHpcTaskRemoteReq extends BaseExecuteConfig {
|
||||
|
||||
@Schema(description = "配置时的mm时间戳")
|
||||
public String timesmap;
|
||||
|
||||
@Schema(description = "计算任务名称")
|
||||
public String jobName;
|
||||
|
||||
@@ -26,7 +31,7 @@ public class SubmitHpcTaskRemoteReq extends BaseExecuteConfig {
|
||||
@Schema(description = "计算任务是否独立存在 0:非独立任务 1:独立任务")
|
||||
public int independence;
|
||||
|
||||
@Schema(description = "求解文件")
|
||||
@Schema(description = "求解文件,featchFileType =beforeNode 时传递")
|
||||
public List<String> inputFiles = new ArrayList<>();
|
||||
|
||||
@Schema(description = "计算主文件")
|
||||
@@ -50,7 +55,13 @@ public class SubmitHpcTaskRemoteReq extends BaseExecuteConfig {
|
||||
@Schema(description = "任务所属项目")
|
||||
public String projectname;
|
||||
|
||||
@Schema(description = "求解器命令占位符 key--value")
|
||||
public Map<String,String> commandExpandMap;
|
||||
@Schema(description = "获取文件的方式:上一节点:beforeNode,hpc节点(文件提前上传工作目录):hpcNode")
|
||||
public String featchFileType;
|
||||
|
||||
@Schema(description = "上一节点Id,featchFileType:beforeNode时传递 ")
|
||||
public String beforeNodeId;
|
||||
|
||||
@Schema(description= "自定义占位符,只有列表展示使用,key 就是占位符")
|
||||
private Map<String,SimulationCommandPlaceholderReq> commandExpand;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user