feat(sj_1.1.0-beta2): 工作流新增配置上下文字段
This commit is contained in:
parent
aea6906b55
commit
2e240fe89a
@ -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 '扩展字段',
|
||||||
|
@ -84,6 +84,11 @@ public class Workflow extends CreateUpdateDt {
|
|||||||
*/
|
*/
|
||||||
private String description;
|
private String description;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 工作流上下文
|
||||||
|
*/
|
||||||
|
private String wfContext;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 版本号
|
* 版本号
|
||||||
*/
|
*/
|
||||||
|
@ -40,6 +40,11 @@ public class WorkflowRequestVO {
|
|||||||
@NotNull(message = "阻塞策略不能为空")
|
@NotNull(message = "阻塞策略不能为空")
|
||||||
private Integer blockStrategy;
|
private Integer blockStrategy;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 工作流上下文
|
||||||
|
*/
|
||||||
|
private String wfContext;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 0、关闭、1、开启
|
* 0、关闭、1、开启
|
||||||
*/
|
*/
|
||||||
|
@ -55,6 +55,11 @@ public class WorkflowDetailResponseVO {
|
|||||||
*/
|
*/
|
||||||
private Integer workflowStatus;
|
private Integer workflowStatus;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 工作流上下文
|
||||||
|
*/
|
||||||
|
private String wfContext;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* DAG节点配置
|
* DAG节点配置
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user