diff --git a/sql/bns_202412_patch.sql b/sql/bns_202412_patch.sql index 9a9ab38..a232847 100644 --- a/sql/bns_202412_patch.sql +++ b/sql/bns_202412_patch.sql @@ -1,7 +1,11 @@ SET NAMES utf8mb4; --- 省 +-- 菜单模版ID alter table sys_dept add menu_template_id bigint(20) null comment '菜单模版ID'; +-- 公司管理员用户ID +alter table sys_dept add admin_user_id bigint(20) null comment '公司管理员用户ID'; +-- 公司用户初始密码 +alter table sys_dept add init_password varchar(255) null comment '公司用户初始密码'; -- 省 alter table sys_dept add province varchar(50) null comment '省'; -- 市 @@ -16,12 +20,16 @@ alter table sys_dept add dept_abbreviation varchar(255) null comment '公司简 alter table sys_dept add remark varchar(255) null comment '公司概述'; -- 公司logo alter table sys_dept add logo varchar(255) null comment '公司logo'; --- 公司用户初始密码 -alter table sys_dept add init_password varchar(255) null comment '公司用户初始密码'; + -- 所属公司ID alter table sys_role add company_id bigint null comment '所属公司ID'; +-- 所属公司ID +alter table sys_post + add company_id bigint null comment '所属公司ID'; + + -- 系统模板表 create table sys_template ( @@ -65,4 +73,10 @@ INSERT INTO bns_cloud_smart_site.sys_template_menu (temp_id, menu_id) VALUES (1, INSERT INTO bns_cloud_smart_site.sys_template_menu (temp_id, menu_id) VALUES (1, 1003); INSERT INTO bns_cloud_smart_site.sys_template_menu (temp_id, menu_id) VALUES (1, 1004); INSERT INTO bns_cloud_smart_site.sys_template_menu (temp_id, menu_id) VALUES (1, 1005); -INSERT INTO bns_cloud_smart_site.sys_template_menu (temp_id, menu_id) VALUES (1, 1006); \ No newline at end of file +INSERT INTO bns_cloud_smart_site.sys_template_menu (temp_id, menu_id) VALUES (1, 1006); +INSERT INTO bns_cloud_smart_site.sys_template_menu (temp_id, menu_id) VALUES (1, 104); +INSERT INTO bns_cloud_smart_site.sys_template_menu (temp_id, menu_id) VALUES (1, 1020); +INSERT INTO bns_cloud_smart_site.sys_template_menu (temp_id, menu_id) VALUES (1, 1021); +INSERT INTO bns_cloud_smart_site.sys_template_menu (temp_id, menu_id) VALUES (1, 1022); +INSERT INTO bns_cloud_smart_site.sys_template_menu (temp_id, menu_id) VALUES (1, 1023); +INSERT INTO bns_cloud_smart_site.sys_template_menu (temp_id, menu_id) VALUES (1, 1024);