From c9cceb9e2d2a62c84ff4859b3e5b61165f0540ba Mon Sep 17 00:00:00 2001
From: gssong <1742057357@qq.com>
Date: 星期六, 09 三月 2024 11:30:55 +0800
Subject: [PATCH] update 补充流程分类sql数据

---
 script/sql/postgres/flowable.sql |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/script/sql/postgres/flowable.sql b/script/sql/postgres/flowable.sql
index aa68592..e7376d4 100644
--- a/script/sql/postgres/flowable.sql
+++ b/script/sql/postgres/flowable.sql
@@ -35,7 +35,7 @@
     create_time timestamp,
     update_by   bigint,
     update_time timestamp,
-    tenant_id   varchar(20)
+    tenant_id   varchar(20) default '000000'::varchar
 );
 
 comment on table test_leave is '璇峰亣鐢宠琛�';
@@ -76,7 +76,7 @@
     category_code varchar(255),
     parent_id     bigint,
     sort_num      bigint,
-    tenant_id     bigint,
+    tenant_id     varchar(20) default '000000'::varchar,
     create_dept   bigint,
     create_by     bigint,
     create_time   timestamp,
@@ -114,6 +114,8 @@
 create unique index uni_category_code
     on wf_category (category_code);
 
+INSERT INTO wf_category values (1, 'OA', 'OA', 0, 0, '000000', 103, 1, now(), 1, now());
+
 INSERT INTO sys_menu(menu_id, menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_dept, create_by, create_time, update_by, update_time, remark) VALUES (11638, '璇峰亣鐢宠', 5, 1, 'leave', 'workflow/leave/index', 1, 0, 'C', '0', '0', 'demo:leave:list', '#', 103, 1, now(), NULL, NULL, '璇峰亣鐢宠鑿滃崟');
 INSERT INTO sys_menu(menu_id, menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_dept, create_by, create_time, update_by, update_time, remark) VALUES (11639, '璇峰亣鐢宠鏌ヨ', 11638, 1, '#', '', 1, 0, 'F', '0', '0', 'demo:leave:query', '#', 103, 1, now(), NULL, NULL, '');
 INSERT INTO sys_menu(menu_id, menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_dept, create_by, create_time, update_by, update_time, remark) VALUES (11640, '璇峰亣鐢宠鏂板', 11638, 2, '#', '', 1, 0, 'F', '0', '0', 'demo:leave:add', '#', 103, 1, now(), NULL, NULL, '');

--
Gitblit v1.9.3