mirror of
https://gitee.com/dromara/RuoYi-Cloud-Plus.git
synced 2026-04-23 10:58:34 +08:00
add 增加 流程扩展表sql
This commit is contained in:
@@ -207,9 +207,30 @@ CREATE TABLE flow_spel (
|
||||
INSERT INTO flow_spel VALUES (1, 'spelRuleComponent', 'selectDeptLeaderById', 'initiatorDeptId', '#{@spelRuleComponent.selectDeptLeaderById(#initiatorDeptId)}', '根据部门id获取部门负责人', '0', '0', 103, 1, sysdate(), 1, sysdate());
|
||||
INSERT INTO flow_spel VALUES (2, NULL, NULL, 'initiator', '${initiator}', '流程发起人', '0', '0', 103, 1, sysdate(), 1, sysdate());
|
||||
|
||||
-- ----------------------------
|
||||
-- 流程实例业务扩展表
|
||||
-- ----------------------------
|
||||
|
||||
create table flow_instance_biz_ext (
|
||||
id bigint not null comment '主键id',
|
||||
tenant_id varchar(20) default '000000' null comment '租户编号',
|
||||
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 '更新时间',
|
||||
business_code varchar(255) null comment '业务编码',
|
||||
business_title varchar(1000) null comment '业务标题',
|
||||
del_flag char default '0' null comment '删除标志(0代表存在 1代表删除)',
|
||||
instance_id bigint null comment '流程实例Id',
|
||||
business_id varchar(255) null comment '业务Id',
|
||||
PRIMARY KEY (id)
|
||||
) ENGINE = InnoDB COMMENT '流程实例业务扩展表';
|
||||
|
||||
-- ----------------------------
|
||||
-- 请假单信息
|
||||
-- ----------------------------
|
||||
|
||||
create table test_leave
|
||||
(
|
||||
id bigint(20) not null comment 'id',
|
||||
|
||||
Reference in New Issue
Block a user