| | |
| | | insert into sys_menu values ('11626', '流程分类删除', '11622', '4', '#', '', '', 1, 0, 'F', '0', '0', 'workflow:category:remove','#', 103, 1, sysdate(), null, null, ''); |
| | | insert into sys_menu values ('11627', '流程分类导出', '11622', '5', '#', '', '', 1, 0, 'F', '0', '0', 'workflow:category:export','#', 103, 1, sysdate(), null, null, ''); |
| | | -- 请假单信息 |
| | | DROP TABLE if EXISTS test_leave; |
| | | create table test_leave |
| | | ( |
| | | id bigint not null comment '主键', |
| | |
| | | ) ENGINE = InnoDB COMMENT = '请假申请表'; |
| | | |
| | | -- 流程分类信息表 |
| | | DROP TABLE if EXISTS wf_category; |
| | | create table wf_category |
| | | ( |
| | | id bigint not null comment '主键' |
| | |
| | | ) engine=innodb comment= '流程分类'; |
| | | INSERT INTO wf_category values (1, 'OA', 'OA', 0, 0, '000000', 103, 1, sysdate(), 1, sysdate()); |
| | | |
| | | DROP TABLE if EXISTS wf_task_back_node; |
| | | create table wf_task_back_node |
| | | ( |
| | | id bigint not null |
| | |
| | | ) |
| | | comment '节点审批记录'; |
| | | |
| | | DROP TABLE if EXISTS wf_definition_config; |
| | | create table wf_definition_config |
| | | ( |
| | | id bigint not null comment '主键' |
| | |
| | | |
| | | create table wf_node_config |
| | | ( |
| | | id bigint not null comment '主键' |
| | | id bigint not null comment '主键' |
| | | primary key, |
| | | form_id bigint null comment '表单id', |
| | | form_type varchar(255) null comment '表单类型', |
| | | node_name varchar(255) not null comment '节点名称', |
| | | node_id varchar(255) not null comment '节点id', |
| | | definition_id varchar(255) not null comment '流程定义id', |
| | | create_dept bigint null comment '创建部门', |
| | | create_by bigint null comment '创建者', |
| | | create_time datetime null comment '创建时间', |
| | | update_by bigint null comment '更新者', |
| | | update_time datetime null comment '更新时间', |
| | | tenant_id varchar(20) null comment '租户编号' |
| | | form_id bigint null comment '表单id', |
| | | form_type varchar(255) null comment '表单类型', |
| | | 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 '创建时间', |
| | | update_by bigint null comment '更新者', |
| | | update_time datetime null comment '更新时间', |
| | | tenant_id varchar(20) null comment '租户编号' |
| | | ) |
| | | comment '节点配置'; |
| | | |