diff --git a/build/usr/local/omc/static/ba.d/db/customized.sql b/build/usr/local/omc/static/ba.d/db/customized.sql index ad9a4d5..63016ff 100644 --- a/build/usr/local/omc/static/ba.d/db/customized.sql +++ b/build/usr/local/omc/static/ba.d/db/customized.sql @@ -1,4 +1,3 @@ ---修改或增加语言切换设置 REPLACE INTO `omc_db`.`sys_config` ( `config_id`, @@ -77,5 +76,132 @@ VALUES ( 'config.sys.officialUrlRemark' ); --- 删除所有角色权限的国际化切换功能 +REPLACE + INTO `omc_db`.`sys_dict_data` ( + `dict_code`, + `dict_sort`, + `dict_label`, + `dict_value`, + `dict_type`, + `tag_class`, + `tag_type`, + `status`, + `create_by`, + `create_time`, + `update_by`, + `update_time`, + `remark` + ) +VALUES ( + 1660, + 1660, + 'config.sys.titleValue', + 'BlueArcusEMS', + 'i18n_zh', + NULL, + NULL, + '1', + 'supervisor', + 1699350000000, + NULL, + 0, + NULL + ); + +REPLACE + INTO `omc_db`.`sys_dict_data` ( + `dict_code`, + `dict_sort`, + `dict_label`, + `dict_value`, + `dict_type`, + `tag_class`, + `tag_type`, + `status`, + `create_by`, + `create_time`, + `update_by`, + `update_time`, + `remark` + ) +VALUES ( + 3660, + 3660, + 'config.sys.titleValue', + 'BlueArcusEMS', + 'i18n_en', + NULL, + NULL, + '1', + 'supervisor', + 1699350000000, + NULL, + 0, + NULL + ); + +REPLACE + INTO `omc_db`.`sys_dict_data` ( + `dict_code`, + `dict_sort`, + `dict_label`, + `dict_value`, + `dict_type`, + `tag_class`, + `tag_type`, + `status`, + `create_by`, + `create_time`, + `update_by`, + `update_time`, + `remark` + ) +VALUES ( + 1661, + 1661, + 'config.sys.copyrightValue', + 'Copyright ©2023 BlueArcus', + 'i18n_zh', + NULL, + NULL, + '1', + 'supervisor', + 1699350000000, + NULL, + 0, + NULL + ); + +REPLACE + INTO `omc_db`.`sys_dict_data` ( + `dict_code`, + `dict_sort`, + `dict_label`, + `dict_value`, + `dict_type`, + `tag_class`, + `tag_type`, + `status`, + `create_by`, + `create_time`, + `update_by`, + `update_time`, + `remark` + ) +VALUES ( + 3661, + 3661, + 'config.sys.copyrightValue', + 'Copyright ©2023 BlueArcus', + 'i18n_en', + NULL, + NULL, + '1', + 'supervisor', + 1699350000000, + NULL, + 0, + NULL + ); + DELETE FROM `omc_db`.`sys_role_menu` WHERE `menu_id` = 2122 \ No newline at end of file