sql: 参数配置-系统设置属性
This commit is contained in:
@@ -11,3 +11,23 @@ ALTER TABLE `omc_db`.`sys_job`
|
||||
ADD COLUMN `save_log` varchar(1) NULL DEFAULT '0' COMMENT '是否记录任务日志(0不记录 1记录)' AFTER `status`;
|
||||
|
||||
UPDATE `omc_db`.`sys_job` SET `save_log` = '1';
|
||||
|
||||
-- 参数配置value长度
|
||||
ALTER TABLE `omc_db`.`sys_config`
|
||||
MODIFY COLUMN `config_value` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '参数键值' AFTER `config_key`;
|
||||
|
||||
-- 字典类型-网元软件版本状态
|
||||
INSERT INTO `omc_db`.`sys_dict_type` (`dict_id`, `dict_name`, `dict_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (null, '网元软件版本状态', 'ne_version_status', '1', 'admin', 1698220546965, '', 0, '网元软件版本状态');
|
||||
-- 字典数据-网元软件版本状态
|
||||
INSERT 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 (null, 1, '已上传', 'Uploaded', 'ne_version_status', NULL, 'processing', '1', 'admin', 1698220606300, '', 0, 'Uploaded');
|
||||
INSERT 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 (null, 2, '已激活', 'Inactive', 'ne_version_status', NULL, 'gold', '1', 'admin', 1698220634097, '', 0, '已激活Inactive');
|
||||
INSERT 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 (null, 3, '已启动', 'Active', 'ne_version_status', NULL, 'success', '1', 'admin', 1698220701130, '', 0, '已激活Active');
|
||||
|
||||
-- 参数配置-系统设置属性
|
||||
INSERT INTO `omc_db`.`sys_config` (`config_id`, `config_name`, `config_key`, `config_value`, `config_type`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (null, '系统设置-LOGO类型', 'sys.logo.type', 'icon', 'Y', 'admin', 1698112743562, 'admin', 1698217326676, '全图:brand\n小图:icon');
|
||||
INSERT INTO `omc_db`.`sys_config` (`config_id`, `config_name`, `config_key`, `config_value`, `config_type`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (null, '系统设置-LOGO文件icon', 'sys.logo.filePathIcon', '', 'Y', 'admin', 1698112935847, 'admin', 1698201425536, '文件支持网络地址图片和内部上传的文件路径');
|
||||
INSERT INTO `omc_db`.`sys_config` (`config_id`, `config_name`, `config_key`, `config_value`, `config_type`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (null, '系统设置-系统名称', 'sys.title', '千通科技', 'Y', 'admin', 1698113035648, 'admin', 1698217311606, '系统名称长度限制11位字符串');
|
||||
INSERT INTO `omc_db`.`sys_config` (`config_id`, `config_name`, `config_key`, `config_value`, `config_type`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (null, '系统设置-版权声明', 'sys.copyright', 'Copyright ©2023 For AGrand 千通科技', 'Y', 'admin', 1698113158157, 'admin', 1698220040192, '底脚固定条,左侧放置版权声明');
|
||||
INSERT INTO `omc_db`.`sys_config` (`config_id`, `config_name`, `config_key`, `config_value`, `config_type`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (null, '系统设置-LOGO文件brand', 'sys.logo.filePathBrand', '', 'Y', 'admin', 1698112935847, 'admin', 1698219184041, '文件支持网络地址图片和内部上传的文件路径');
|
||||
INSERT INTO `omc_db`.`sys_config` (`config_id`, `config_name`, `config_key`, `config_value`, `config_type`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (null, '系统设置-登录界面背景', 'sys.loginBackground', '', 'Y', 'admin', 1698205046084, 'admin', 1698217285996, '文件支持网络地址图片和内部上传的文件路径');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user