mirror of
https://github.com/dromara/RuoYi-Vue-Plus.git
synced 2025-09-24 07:19:46 +08:00
update 调整流程定义配置逻辑
This commit is contained in:
@ -79,9 +79,10 @@ create table wf_definition_config
|
||||
(
|
||||
id bigint not null comment '主键'
|
||||
primary key,
|
||||
form_id bigint not null comment '表单ID',
|
||||
table_name varchar(255) not null comment '表名',
|
||||
definition_id varchar(255) not null comment '流程定义ID',
|
||||
process_key varchar(255) not null comment '流程KEY',
|
||||
version int(10) not null comment '流程版本',
|
||||
create_dept bigint null comment '创建部门',
|
||||
create_by bigint null comment '创建者',
|
||||
create_time datetime null comment '创建时间',
|
||||
|
@ -125,9 +125,10 @@ create table WF_DEFINITION_CONFIG
|
||||
ID NUMBER(20) NOT NULL
|
||||
CONSTRAINT PK_WF_DEFINITION_CONFIG
|
||||
PRIMARY KEY,
|
||||
FORM_ID NUMBER(20) NOT NULL,
|
||||
TABLE_NAME VARCHAR2(255) NOT NULL,
|
||||
DEFINITION_ID VARCHAR2(255) NOT NULL,
|
||||
PROCESS_KEY VARCHAR2(255) NOT NULL,
|
||||
PROCESS_KEY VARCHAR2(255) NOT NULL,
|
||||
VERSION NUMBER(10) NOT NULL,
|
||||
TENANT_ID VARCHAR2(20),
|
||||
CREATE_DEPT NUMBER(20),
|
||||
CREATE_BY NUMBER(20),
|
||||
@ -139,9 +140,10 @@ create table WF_DEFINITION_CONFIG
|
||||
);
|
||||
comment on table WF_DEFINITION_CONFIG is '流程定义配置'
|
||||
comment on column WF_DEFINITION_CONFIG.ID is '主键'
|
||||
comment on column WF_DEFINITION_CONFIG.FORM_ID is '表单ID'
|
||||
comment on column WF_DEFINITION_CONFIG.TABLE_NAME is '表名'
|
||||
comment on column WF_DEFINITION_CONFIG.DEFINITION_ID is '流程定义ID'
|
||||
comment on column WF_DEFINITION_CONFIG.PROCESS_KEY is '流程KEY'
|
||||
comment on column WF_DEFINITION_CONFIG.VERSION is '流程版本'
|
||||
comment on column WF_DEFINITION_CONFIG.TENANT_ID is '租户编号'
|
||||
comment on column WF_DEFINITION_CONFIG.CREATE_DEPT is '创建部门'
|
||||
comment on column WF_DEFINITION_CONFIG.CREATE_BY is '创建者'
|
||||
|
@ -169,9 +169,10 @@ create table wf_definition_config
|
||||
id bigint not null
|
||||
constraint pk_wf_definition_config
|
||||
primary key,
|
||||
form_id bigint(20) not null,
|
||||
table_name varchar(255) not null,
|
||||
definition_id varchar(255) not null,
|
||||
process_key varchar(255) not null,
|
||||
process_key varchar(255) not null,
|
||||
version bigint not null,
|
||||
tenant_id varchar(20),
|
||||
create_dept bigint,
|
||||
create_by bigint,
|
||||
@ -184,12 +185,14 @@ comment on table wf_definition_config is '流程定义配置';
|
||||
|
||||
comment on column wf_definition_config.id is '主键';
|
||||
|
||||
comment on column wf_definition_config.form_id is '表单ID';
|
||||
comment on column wf_definition_config.table_name is '表名';
|
||||
|
||||
comment on column wf_definition_config.definition_id is '流程定义ID';
|
||||
|
||||
comment on column wf_definition_config.process_key is '流程KEY';
|
||||
|
||||
comment on column wf_definition_config.version is '流程版本';
|
||||
|
||||
comment on column wf_definition_config.tenant_id is '租户id';
|
||||
|
||||
comment on column wf_definition_config.create_dept is '创建部门';
|
||||
|
@ -215,11 +215,12 @@ go
|
||||
create table wf_definition_config
|
||||
(
|
||||
id bigint not null primary key,
|
||||
form_id bigint not null,
|
||||
definition_id nvarchar(255)
|
||||
table_name nvarchar(255) not null,
|
||||
definition_id nvarchar(255) not null
|
||||
constraint uni_definition_id
|
||||
unique,
|
||||
process_key nvarchar(255) not null,
|
||||
version bigint not null,
|
||||
tenant_id nvarchar(20),
|
||||
create_dept bigint,
|
||||
create_by bigint,
|
||||
@ -235,8 +236,8 @@ go
|
||||
exec sp_addextendedproperty 'MS_Description', N'主键', 'SCHEMA', 'dbo', 'TABLE', 'wf_definition_config', 'COLUMN', 'id'
|
||||
go
|
||||
|
||||
exec sp_addextendedproperty 'MS_Description', N'表单ID', 'SCHEMA', 'dbo', 'TABLE', 'wf_definition_config', 'COLUMN',
|
||||
'form_id'
|
||||
exec sp_addextendedproperty 'MS_Description', N'表名', 'SCHEMA', 'dbo', 'TABLE', 'wf_definition_config', 'COLUMN',
|
||||
'table_name'
|
||||
go
|
||||
|
||||
exec sp_addextendedproperty 'MS_Description', N'流程定义ID', 'SCHEMA', 'dbo', 'TABLE', 'wf_definition_config', 'COLUMN',
|
||||
@ -247,6 +248,10 @@ exec sp_addextendedproperty 'MS_Description', N'流程KEY', 'SCHEMA', 'dbo', 'TA
|
||||
'process_key'
|
||||
go
|
||||
|
||||
exec sp_addextendedproperty 'MS_Description', N'流程版本', 'SCHEMA', 'dbo', 'TABLE', 'wf_definition_config', 'COLUMN',
|
||||
'version'
|
||||
go
|
||||
|
||||
exec sp_addextendedproperty 'MS_Description', N'租户编号', 'SCHEMA', 'dbo', 'TABLE', 'wf_definition_config', 'COLUMN',
|
||||
'tenant_id'
|
||||
go
|
||||
|
Reference in New Issue
Block a user