update 调整流程定义配置逻辑

This commit is contained in:
gssong
2024-04-06 21:06:25 +08:00
parent eb03afef41
commit af77657a86
13 changed files with 150 additions and 26 deletions

View File

@ -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 '创建时间',

View File

@ -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 '创建者'

View File

@ -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 '创建部门';

View File

@ -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