feat(sj_1.1.0-beta2): 工作流新增配置上下文字段

This commit is contained in:
opensnail 2024-06-27 15:57:20 +08:00
parent aea6906b55
commit 2e240fe89a
4 changed files with 16 additions and 0 deletions

View File

@ -462,6 +462,7 @@ CREATE TABLE `sj_workflow`
`executor_timeout` int(11) NOT NULL DEFAULT 0 COMMENT '任务执行超时时间,单位秒', `executor_timeout` int(11) NOT NULL DEFAULT 0 COMMENT '任务执行超时时间,单位秒',
`description` varchar(256) NOT NULL DEFAULT '' COMMENT '描述', `description` varchar(256) NOT NULL DEFAULT '' COMMENT '描述',
`flow_info` text DEFAULT NULL COMMENT '流程信息', `flow_info` text DEFAULT NULL COMMENT '流程信息',
`wf_context` text DEFAULT NULL COMMENT '上下文',
`bucket_index` int(11) NOT NULL DEFAULT 0 COMMENT 'bucket', `bucket_index` int(11) NOT NULL DEFAULT 0 COMMENT 'bucket',
`version` int(11) NOT NULL COMMENT '版本号', `version` int(11) NOT NULL COMMENT '版本号',
`ext_attrs` varchar(256) NULL DEFAULT '' COMMENT '扩展字段', `ext_attrs` varchar(256) NULL DEFAULT '' COMMENT '扩展字段',

View File

@ -84,6 +84,11 @@ public class Workflow extends CreateUpdateDt {
*/ */
private String description; private String description;
/**
* 工作流上下文
*/
private String wfContext;
/** /**
* 版本号 * 版本号
*/ */

View File

@ -40,6 +40,11 @@ public class WorkflowRequestVO {
@NotNull(message = "阻塞策略不能为空") @NotNull(message = "阻塞策略不能为空")
private Integer blockStrategy; private Integer blockStrategy;
/**
* 工作流上下文
*/
private String wfContext;
/** /**
* 0关闭1开启 * 0关闭1开启
*/ */

View File

@ -55,6 +55,11 @@ public class WorkflowDetailResponseVO {
*/ */
private Integer workflowStatus; private Integer workflowStatus;
/**
* 工作流上下文
*/
private String wfContext;
/** /**
* DAG节点配置 * DAG节点配置
*/ */