add -- 新增 update_v0.4.4~latest.sql 文件

This commit is contained in:
konbai
2022-05-30 01:20:50 +08:00
parent 64eb962366
commit dc1e59004a
3 changed files with 108 additions and 0 deletions

View File

@@ -0,0 +1,42 @@
create table wf_copy (
copy_id number(20) not null,
title varchar(255) default '',
process_id varchar(64) default '',
process_name varchar(255) default '',
category_id varchar(64) default '',
deployment_id varchar(64) default '',
instance_id varchar(64) default '',
task_id varchar(64) default '',
user_id number(20) not null,
originator_id number(20) not null,
originator_name varchar(64) default '',
create_by varchar(64) default '',
create_time date,
update_by varchar(64) default '',
update_time date,
del_flag nchar(1)
);
alter table wf_copy add constraint pk_wf_copy primary key (copy_id);
comment on table wf_copy is '流程抄送表';
comment on column wf_copy.copy_id is '抄送主键';
comment on column wf_copy.title is '抄送标题';
comment on column wf_copy.process_id is '流程主键';
comment on column wf_copy.process_name is '流程名称';
comment on column wf_copy.category_id is '流程分类主键';
comment on column wf_copy.deployment_id is '部署主键';
comment on column wf_copy.instance_id is '流程实例主键';
comment on column wf_copy.task_id is '任务主键';
comment on column wf_copy.user_id is '用户主键';
comment on column wf_copy.originator_id is '发起人主键';
comment on column wf_copy.originator_name is '发起人名称';
comment on column wf_copy.create_by is '创建者';
comment on column wf_copy.create_time is '创建时间';
comment on column wf_copy.update_by is '更新者';
comment on column wf_copy.update_time is '更新时间';
comment on column wf_copy.del_flag is '删除标志0代表存在 2代表删除';
insert into sys_menu values('128', '抄送我的', '5', '5', 'copy', 'workflow/work/copy', '', 1, 0, 'C', '0', '0', 'workflow:process:copyList', 'checkbox', 'admin', sysdate, '', null, '');
insert into sys_role_menu values ('2', '128');