|
|
@@ -1447,6 +1447,23 @@ ALTER TABLE `core_protection`
|
|
|
MODIFY COLUMN `device_id` bigint NULL DEFAULT NULL COMMENT '设备ID' AFTER `id`,
|
|
|
MODIFY COLUMN `alarm_host_code` bigint NULL DEFAULT NULL COMMENT '报警主机唯一标识' AFTER `org_name`;
|
|
|
|
|
|
+-- 演练任务状态字典增加待提交
|
|
|
+delete from sys_dict_data where dict_type='edu_training_do_status' and dict_value in (4) ;
|
|
|
+INSERT INTO sys_dict_data (dict_sort, dict_label, dict_value, dict_type, css_class, list_class, is_default, status, create_by, create_time, update_by, update_time, remark) VALUES ( 4, '待提交', '4', 'edu_training_do_status', null, 'default', 'N', '0', 'slsjyc', '2023-09-28 15:18:38', '', null, null);
|
|
|
+-- 演练任务状态字典排序修改
|
|
|
+UPDATE sys_dict_data t SET t.dict_sort = 2 WHERE t.dict_type = 'edu_training_do_status' and t.dict_value=1;
|
|
|
+UPDATE sys_dict_data t SET t.dict_sort = 1 WHERE t.dict_type = 'edu_training_do_status' and t.dict_value=4;
|
|
|
+UPDATE sys_dict_data t SET t.dict_sort = 4 WHERE t.dict_code = 294 and t.dict_type = 'edu_training_do_status' and t.dict_value=2;
|
|
|
+UPDATE sys_dict_data t SET t.dict_label = '待培训' WHERE t.dict_code = 292 and t.dict_type = 'edu_training_do_status' and t.dict_value=0;
|
|
|
+
|
|
|
+-- 教育培训周期字典新增 每日 每周
|
|
|
+delete from sys_dict_data where dict_type='edu_plan_cycle' and dict_value in (1,2) ;
|
|
|
+INSERT INTO sys_dict_data ( dict_sort, dict_label, dict_value, dict_type, css_class, list_class, is_default, status, create_by, create_time, update_by, update_time, remark) VALUES (1, '每日', '1', 'edu_plan_cycle', null, 'default', 'N', '0', 'slsjyc', '2023-09-28 15:58:06', '', null, null);
|
|
|
+INSERT INTO sys_dict_data ( dict_sort, dict_label, dict_value, dict_type, css_class, list_class, is_default, status, create_by, create_time, update_by, update_time, remark) VALUES (2, '每周', '2', 'edu_plan_cycle', null, 'default', 'N', '0', 'slsjyc', '2023-09-28 15:58:20', '', null, null);
|
|
|
+UPDATE soc.sys_dict_data t SET t.dict_sort = 3 WHERE dict_type='edu_plan_cycle' and dict_value=3;
|
|
|
+UPDATE soc.sys_dict_data t SET t.dict_sort = 5 WHERE dict_type='edu_plan_cycle' and dict_value=5;
|
|
|
+UPDATE soc.sys_dict_data t SET t.dict_sort = 6 WHERE dict_type='edu_plan_cycle' and dict_value=6;
|
|
|
+UPDATE soc.sys_dict_data t SET t.dict_sort = 4 WHERE dict_type='edu_plan_cycle' and dict_value=4;
|
|
|
-- 修改履职计划类型
|
|
|
DELETE from sys_dict_data where dict_type='resumption_plan_type';
|
|
|
INSERT INTO `sys_dict_data`( `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES ( 1, '营业前安全检查', '1', 'resumption_plan_type', NULL, 'default', 'N', '0', '何悦', '2023-08-28 18:44:08', '超级管理员', '2023-09-28 15:16:39', NULL);
|