update 补充节点配置sql
This commit is contained in:
parent
1da98c8a82
commit
eb03afef41
@ -115,19 +115,20 @@ insert into wf_form_manage(id, form_name, form_type, router, remark, tenant_id,
|
|||||||
|
|
||||||
create table wf_node_config
|
create table wf_node_config
|
||||||
(
|
(
|
||||||
id bigint not null comment '主键'
|
id bigint not null comment '主键'
|
||||||
primary key,
|
primary key,
|
||||||
form_id bigint null comment '表单id',
|
form_id bigint null comment '表单id',
|
||||||
form_type varchar(255) null comment '表单类型',
|
form_type varchar(255) null comment '表单类型',
|
||||||
node_name varchar(255) not null comment '节点名称',
|
node_name varchar(255) not null comment '节点名称',
|
||||||
node_id varchar(255) not null comment '节点id',
|
node_id varchar(255) not null comment '节点id',
|
||||||
definition_id varchar(255) not null comment '流程定义id',
|
definition_id varchar(255) not null comment '流程定义id',
|
||||||
create_dept bigint null comment '创建部门',
|
apply_user_task char(1) default '0' comment '是否为申请人节点 (0是 1否)',
|
||||||
create_by bigint null comment '创建者',
|
create_dept bigint null comment '创建部门',
|
||||||
create_time datetime null comment '创建时间',
|
create_by bigint null comment '创建者',
|
||||||
update_by bigint null comment '更新者',
|
create_time datetime null comment '创建时间',
|
||||||
update_time datetime null comment '更新时间',
|
update_by bigint null comment '更新者',
|
||||||
tenant_id varchar(20) null comment '租户编号'
|
update_time datetime null comment '更新时间',
|
||||||
|
tenant_id varchar(20) null comment '租户编号'
|
||||||
)
|
)
|
||||||
comment '节点配置';
|
comment '节点配置';
|
||||||
|
|
||||||
|
@ -183,20 +183,21 @@ insert into wf_form_manage(id, form_name, form_type, router, remark, tenant_id,
|
|||||||
|
|
||||||
create table WF_NODE_CONFIG
|
create table WF_NODE_CONFIG
|
||||||
(
|
(
|
||||||
ID NUMBER(20) NOT NULL
|
ID NUMBER(20) NOT NULL
|
||||||
CONSTRAINT PK_WF_NODE_CONFIG
|
CONSTRAINT PK_WF_NODE_CONFIG
|
||||||
PRIMARY KEY,
|
PRIMARY KEY,
|
||||||
FORM_ID NUMBER(20),
|
FORM_ID NUMBER(20),
|
||||||
FORM_TYPE VARCHAR2(255),
|
FORM_TYPE VARCHAR2(255),
|
||||||
NODE_NAME VARCHAR2(255) NOT NULL,
|
NODE_NAME VARCHAR2(255) NOT NULL,
|
||||||
NODE_ID VARCHAR2(255) NOT NULL,
|
NODE_ID VARCHAR2(255) NOT NULL,
|
||||||
DEFINITION_ID VARCHAR2(255) NOT NULL,
|
DEFINITION_ID VARCHAR2(255) NOT NULL,
|
||||||
TENANT_ID VARCHAR2(20),
|
APPLY_USER_TASK CHAR(1) DEFAULT '0',
|
||||||
CREATE_DEPT NUMBER(20),
|
TENANT_ID VARCHAR2(20),
|
||||||
CREATE_BY NUMBER(20),
|
CREATE_DEPT NUMBER(20),
|
||||||
CREATE_TIME DATE,
|
CREATE_BY NUMBER(20),
|
||||||
UPDATE_BY NUMBER(20),
|
CREATE_TIME DATE,
|
||||||
UPDATE_TIME DATE
|
UPDATE_BY NUMBER(20),
|
||||||
|
UPDATE_TIME DATE
|
||||||
);
|
);
|
||||||
|
|
||||||
comment on table WF_NODE_CONFIG is '节点配置'
|
comment on table WF_NODE_CONFIG is '节点配置'
|
||||||
@ -206,6 +207,7 @@ comment on column WF_NODE_CONFIG.FORM_TYPE is '表单类型'
|
|||||||
comment on column WF_NODE_CONFIG.NODE_ID is '节点id'
|
comment on column WF_NODE_CONFIG.NODE_ID is '节点id'
|
||||||
comment on column WF_NODE_CONFIG.NODE_NAME is '节点名称'
|
comment on column WF_NODE_CONFIG.NODE_NAME is '节点名称'
|
||||||
comment on column WF_NODE_CONFIG.DEFINITION_ID is '流程定义id'
|
comment on column WF_NODE_CONFIG.DEFINITION_ID is '流程定义id'
|
||||||
|
comment on column WF_NODE_CONFIG.APPLY_USER_TASK is '是否为申请人节点 (0是 1否)'
|
||||||
comment on column WF_NODE_CONFIG.TENANT_ID is '租户编号'
|
comment on column WF_NODE_CONFIG.TENANT_ID is '租户编号'
|
||||||
comment on column WF_NODE_CONFIG.CREATE_DEPT is '创建部门'
|
comment on column WF_NODE_CONFIG.CREATE_DEPT is '创建部门'
|
||||||
comment on column WF_NODE_CONFIG.CREATE_BY is '创建者'
|
comment on column WF_NODE_CONFIG.CREATE_BY is '创建者'
|
||||||
|
@ -252,20 +252,21 @@ insert into wf_form_manage(id, form_name, form_type, router, remark, tenant_id,
|
|||||||
|
|
||||||
create table wf_node_config
|
create table wf_node_config
|
||||||
(
|
(
|
||||||
id bigint not null
|
id bigint not null
|
||||||
constraint pk_wf_node_config
|
constraint pk_wf_node_config
|
||||||
primary key,
|
primary key,
|
||||||
form_id bigint,
|
form_id bigint,
|
||||||
form_type varchar(255),
|
form_type varchar(255),
|
||||||
node_name varchar(255) not null,
|
node_name varchar(255) not null,
|
||||||
node_id varchar(255) not null,
|
node_id varchar(255) not null,
|
||||||
definition_id varchar(255) not null,
|
definition_id varchar(255) not null,
|
||||||
tenant_id varchar(20),
|
apply_user_task char(1) default '0',
|
||||||
create_dept bigint,
|
tenant_id varchar(20),
|
||||||
create_by bigint,
|
create_dept bigint,
|
||||||
create_time timestamp,
|
create_by bigint,
|
||||||
update_by bigint,
|
create_time timestamp,
|
||||||
update_time timestamp
|
update_by bigint,
|
||||||
|
update_time timestamp
|
||||||
);
|
);
|
||||||
|
|
||||||
comment on table wf_node_config is '节点配置';
|
comment on table wf_node_config is '节点配置';
|
||||||
@ -282,6 +283,8 @@ comment on column wf_node_config.node_name is '节点名称';
|
|||||||
|
|
||||||
comment on column wf_node_config.definition_id is '流程定义id';
|
comment on column wf_node_config.definition_id is '流程定义id';
|
||||||
|
|
||||||
|
comment on column wf_node_config.apply_user_task is '是否为申请人节点 (0是 1否)';
|
||||||
|
|
||||||
comment on column wf_node_config.tenant_id is '租户id';
|
comment on column wf_node_config.tenant_id is '租户id';
|
||||||
|
|
||||||
comment on column wf_node_config.create_dept is '创建部门';
|
comment on column wf_node_config.create_dept is '创建部门';
|
||||||
|
@ -333,18 +333,19 @@ insert into wf_form_manage(id, form_name, form_type, router, remark, tenant_id,
|
|||||||
|
|
||||||
create table wf_node_config
|
create table wf_node_config
|
||||||
(
|
(
|
||||||
id bigint not null primary key,
|
id bigint not null primary key,
|
||||||
form_id bigint,
|
form_id bigint,
|
||||||
form_type nvarchar(255) ,
|
form_type nvarchar(255) ,
|
||||||
node_name nvarchar(255) not null,
|
node_name nvarchar(255) not null,
|
||||||
node_id nvarchar(255) not null,
|
node_id nvarchar(255) not null,
|
||||||
definition_id nvarchar(255) not null,
|
definition_id nvarchar(255) not null,
|
||||||
tenant_id nvarchar(20),
|
apply_user_task nchar default ('0') null,
|
||||||
create_dept bigint,
|
tenant_id nvarchar(20),
|
||||||
create_by bigint,
|
create_dept bigint,
|
||||||
create_time datetime2,
|
create_by bigint,
|
||||||
update_by bigint,
|
create_time datetime2,
|
||||||
update_time datetime2
|
update_by bigint,
|
||||||
|
update_time datetime2
|
||||||
)
|
)
|
||||||
|
|
||||||
go
|
go
|
||||||
@ -374,6 +375,10 @@ exec sp_addextendedproperty 'MS_Description', N'流程定义id', 'SCHEMA', 'dbo'
|
|||||||
'definition_id'
|
'definition_id'
|
||||||
go
|
go
|
||||||
|
|
||||||
|
exec sp_addextendedproperty 'MS_Description', N'是否为申请人节点 (0是 1否)', 'SCHEMA', 'dbo', 'TABLE', 'wf_node_config', 'COLUMN',
|
||||||
|
'apply_user_task'
|
||||||
|
go
|
||||||
|
|
||||||
exec sp_addextendedproperty 'MS_Description', N'租户编号', 'SCHEMA', 'dbo', 'TABLE', 'wf_node_config', 'COLUMN',
|
exec sp_addextendedproperty 'MS_Description', N'租户编号', 'SCHEMA', 'dbo', 'TABLE', 'wf_node_config', 'COLUMN',
|
||||||
'tenant_id'
|
'tenant_id'
|
||||||
go
|
go
|
||||||
|
Loading…
x
Reference in New Issue
Block a user