mirror of https://gitee.com/stylefeng/roses
【8.0】【tenant】更新租户初始化sql
parent
0c9aafcded
commit
d2627ee50d
|
@ -25,4 +25,8 @@ update sys_role set tenant_id = 1 where tenant_id is null;
|
|||
|
||||
update sys_hr_position set tenant_id = 1 where tenant_id is null;
|
||||
|
||||
update sys_hr_organization set tenant_id = 1 where tenant_id is null;
|
||||
update sys_hr_organization set tenant_id = 1 where tenant_id is null;
|
||||
|
||||
-- 增加租户相关配置
|
||||
INSERT INTO `sys_dict`(`dict_id`, `dict_type_id`, `dict_code`, `dict_name`, `dict_name_pinyin`, `dict_encode`, `dict_short_name`, `dict_short_code`, `dict_parent_id`, `dict_pids`, `status_flag`, `dict_sort`, `version_flag`, `del_flag`, `create_time`, `create_user`, `update_time`, `update_user`) VALUES (1697301378511056897, 1353547215422132226, 'TENANT_CONFIG', '租户配置', 'zhpz', NULL, NULL, NULL, -1, '[-1],', 1, 80.00, 1, 'N', '2023-09-01 01:32:38', 1339550467939639299, '2023-09-01 01:32:46', 1339550467939639299);
|
||||
INSERT INTO `sys_config`(`config_id`, `config_name`, `config_code`, `config_value`, `sys_flag`, `remark`, `status_flag`, `group_code`, `del_flag`, `create_time`, `create_user`, `update_time`, `update_user`) VALUES (1697301485767798785, '默认根租户的ID', 'DEFAULT_ROOT_TENANT_ID', '1', 'Y', NULL, 1, 'TENANT_CONFIG', 'N', '2023-09-01 01:33:03', 1339550467939639299, NULL, NULL);
|
Loading…
Reference in New Issue