mirror of
				https://github.com/dromara/RuoYi-Vue-Plus.git
				synced 2025-11-04 16:23:42 +08:00 
			
		
		
		
	update 补充节点配置sql
This commit is contained in:
		@@ -122,6 +122,7 @@ create table wf_node_config
 | 
			
		||||
    node_name        varchar(255) not null comment '节点名称',
 | 
			
		||||
    node_id          varchar(255) not null comment '节点id',
 | 
			
		||||
    definition_id    varchar(255) not null comment '流程定义id',
 | 
			
		||||
    apply_user_task  char(1)      default '0'     comment '是否为申请人节点 (0是 1否)',
 | 
			
		||||
    create_dept      bigint       null comment '创建部门',
 | 
			
		||||
    create_by        bigint       null comment '创建者',
 | 
			
		||||
    create_time      datetime     null comment '创建时间',
 | 
			
		||||
 
 | 
			
		||||
@@ -191,6 +191,7 @@ create table WF_NODE_CONFIG
 | 
			
		||||
    NODE_NAME        VARCHAR2(255) NOT NULL,
 | 
			
		||||
    NODE_ID          VARCHAR2(255) NOT NULL,
 | 
			
		||||
    DEFINITION_ID    VARCHAR2(255) NOT NULL,
 | 
			
		||||
    APPLY_USER_TASK  CHAR(1) DEFAULT '0',
 | 
			
		||||
    TENANT_ID        VARCHAR2(20),
 | 
			
		||||
    CREATE_DEPT      NUMBER(20),
 | 
			
		||||
    CREATE_BY        NUMBER(20),
 | 
			
		||||
@@ -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_NAME is '节点名称'
 | 
			
		||||
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.CREATE_DEPT is '创建部门'
 | 
			
		||||
comment on column WF_NODE_CONFIG.CREATE_BY is '创建者'
 | 
			
		||||
 
 | 
			
		||||
@@ -260,6 +260,7 @@ create table wf_node_config
 | 
			
		||||
    node_name        varchar(255) not null,
 | 
			
		||||
    node_id          varchar(255) not null,
 | 
			
		||||
    definition_id    varchar(255) not null,
 | 
			
		||||
    apply_user_task  char(1) default '0',
 | 
			
		||||
    tenant_id        varchar(20),
 | 
			
		||||
    create_dept      bigint,
 | 
			
		||||
    create_by        bigint,
 | 
			
		||||
@@ -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.apply_user_task is '是否为申请人节点 (0是 1否)';
 | 
			
		||||
 | 
			
		||||
comment on column wf_node_config.tenant_id is '租户id';
 | 
			
		||||
 | 
			
		||||
comment on column wf_node_config.create_dept is '创建部门';
 | 
			
		||||
 
 | 
			
		||||
@@ -339,6 +339,7 @@ create table wf_node_config
 | 
			
		||||
    node_name        nvarchar(255) not null,
 | 
			
		||||
    node_id          nvarchar(255) not null,
 | 
			
		||||
    definition_id    nvarchar(255) not null,
 | 
			
		||||
    apply_user_task  nchar default ('0')  null,
 | 
			
		||||
    tenant_id        nvarchar(20),
 | 
			
		||||
    create_dept      bigint,
 | 
			
		||||
    create_by        bigint,
 | 
			
		||||
@@ -374,6 +375,10 @@ exec sp_addextendedproperty 'MS_Description', N'流程定义id', 'SCHEMA', 'dbo'
 | 
			
		||||
     'definition_id'
 | 
			
		||||
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',
 | 
			
		||||
     'tenant_id'
 | 
			
		||||
go
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user