add 补充流程扩展sql

This commit is contained in:
gssong
2025-08-15 21:35:42 +08:00
parent 0fcf77e2ed
commit ac56ca0e81
8 changed files with 230 additions and 0 deletions

View File

@@ -207,9 +207,32 @@ 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'
primary key,
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'
)
comment '流程实例业务扩展表';
-- ----------------------------
-- 请假单信息
-- ----------------------------
create table test_leave
(
id bigint(20) not null comment 'id',