|
|
@@ -116,7 +116,7 @@ CREATE TABLE `core_evaluate_task_user` (
|
|
|
`task_id` bigint DEFAULT NULL COMMENT '任务id',
|
|
|
`user_id` bigint DEFAULT NULL COMMENT '评价人id',
|
|
|
`complete_time` datetime DEFAULT NULL COMMENT '评价时间',
|
|
|
- `evaluated_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '评价人名称',
|
|
|
+ `evaluate_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '评价人名称',
|
|
|
PRIMARY KEY (`id`) USING BTREE
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='外包评价任务评价人信息表';
|
|
|
DROP TABLE
|
|
|
@@ -952,6 +952,57 @@ CREATE TABLE `core_safety_index_calculate_rule_item` (
|
|
|
PRIMARY KEY (`id`) USING BTREE,
|
|
|
KEY `rule_id` (`rule_id`) USING BTREE
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='安全指标指数细化表';
|
|
|
+
|
|
|
+-- 新增安全检查相关表
|
|
|
+DROP TABLE IF EXISTS `core_safety_book_aqbwbndjh`;
|
|
|
+CREATE TABLE `core_safety_book_aqbwbndjh` (
|
|
|
+ `id` bigint NOT NULL,
|
|
|
+ `title` varchar(4000) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '工作主题',
|
|
|
+ `date` datetime DEFAULT NULL COMMENT '记录日期',
|
|
|
+ `content` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci COMMENT '内容',
|
|
|
+ `create_time` datetime DEFAULT NULL COMMENT '创建时间',
|
|
|
+ `update_time` datetime DEFAULT NULL COMMENT '修改时间',
|
|
|
+ `create_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
|
|
|
+ `update_by` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
|
|
|
+ `images` varchar(4000) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '照片',
|
|
|
+ `org_id` bigint DEFAULT NULL COMMENT '机构id',
|
|
|
+ PRIMARY KEY (`id`)
|
|
|
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='安全保卫部年度计划';
|
|
|
+DROP TABLE IF EXISTS `core_safety_book_aqbwbndjh_user`;
|
|
|
+CREATE TABLE `core_safety_book_aqbwbndjh_user` (
|
|
|
+ `id` bigint NOT NULL,
|
|
|
+ `aqbwbndjh_id` bigint DEFAULT NULL COMMENT '安全保卫部年度计划id',
|
|
|
+ `user_id` bigint DEFAULT NULL COMMENT '用户id',
|
|
|
+ `create_time` datetime DEFAULT NULL COMMENT '创建时间',
|
|
|
+ `update_time` datetime DEFAULT NULL COMMENT '修改时间',
|
|
|
+ `create_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
|
|
|
+ `update_by` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
|
|
|
+ PRIMARY KEY (`id`)
|
|
|
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
|
|
|
+DROP TABLE IF EXISTS `core_safety_book_hsggbsdj`;
|
|
|
+CREATE TABLE `core_safety_book_hsggbsdj` (
|
|
|
+ `id` bigint NOT NULL,
|
|
|
+ `title` varchar(4000) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '工作主题',
|
|
|
+ `date` datetime DEFAULT NULL COMMENT '开会日期',
|
|
|
+ `content` longtext COLLATE utf8mb4_general_ci COMMENT '内容',
|
|
|
+ `create_time` datetime DEFAULT NULL COMMENT '创建时间',
|
|
|
+ `update_time` datetime DEFAULT NULL COMMENT '修改时间',
|
|
|
+ `create_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
|
|
|
+ `update_by` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
|
|
|
+ `images` varchar(4000) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '照片',
|
|
|
+ PRIMARY KEY (`id`)
|
|
|
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='行社高管部署登记';
|
|
|
+DROP TABLE IF EXISTS `core_safety_book_hsggbsdj_user`;
|
|
|
+CREATE TABLE `core_safety_book_hsggbsdj_user` (
|
|
|
+ `id` bigint NOT NULL,
|
|
|
+ `hsggbsdj_id` bigint DEFAULT NULL COMMENT '行社高管部署登记id',
|
|
|
+ `user_id` bigint DEFAULT NULL COMMENT '用户id',
|
|
|
+ `create_time` datetime DEFAULT NULL COMMENT '创建时间',
|
|
|
+ `update_time` datetime DEFAULT NULL COMMENT '修改时间',
|
|
|
+ `create_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
|
|
|
+ `update_by` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
|
|
|
+ PRIMARY KEY (`id`)
|
|
|
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
|
|
|
-- -------------------------------------------------------
|
|
|
-- ----------新增表脚本 end ----------------------------
|
|
|
-- -------------------------------------------------------
|
|
|
@@ -1548,10 +1599,29 @@ INSERT INTO sys_menu (id, menu_name, parent_id, order_num, path, component, quer
|
|
|
INSERT INTO sys_menu (id, menu_name, parent_id, order_num, path, component, query, is_frame, is_cache, menu_type, visible, status, perms, platform_type, icon, image_path, create_by, create_time, update_by, update_time, remark) VALUES (2229, '演练计划删除', 2321, 5, '', null, null, 1, 0, 'F', '0', '0', 'core:drillPlan:remove', '1', null, null, '超级管理员', now(), '', null, '');
|
|
|
INSERT INTO sys_menu (id, menu_name, parent_id, order_num, path, component, query, is_frame, is_cache, menu_type, visible, status, perms, platform_type, icon, image_path, create_by, create_time, update_by, update_time, remark) VALUES (2338, '演练计划详情', 2321, 6, '', null, null, 1, 0, 'F', '0', '0', 'core:drillPlan:query', '1', null, null, '超级管理员', now(), '', null, '');
|
|
|
|
|
|
--- 安全责任书菜单
|
|
|
-delete from sys_menu where menu_name in ('文书档案','安全责任书');
|
|
|
+-- 安全责任书,文书档案,行社高管部署登记,安全保卫部年度计划菜单
|
|
|
+DELETE FROM sys_menu WHERE menu_name IN ('文书档案','安全责任书');
|
|
|
INSERT INTO `sys_menu`(`id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `platform_type`, `icon`, `image_path`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (01711912586825461761, '文书档案', 0, 12, 'safetyBook', NULL, NULL, 1, 0, 'M', '0', '0', NULL, '1', 'documentation', NULL, '超级管理员', '2023-10-11 09:12:38', '', NULL, '');
|
|
|
INSERT INTO `sys_menu`(`id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `platform_type`, `icon`, `image_path`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (01711913107380531202, '安全责任书', 1711912586825461761, 1, 'index', 'safetyBook/index', NULL, 1, 0, 'C', '0', '0', NULL, '1', 'clipboard', NULL, '超级管理员', '2023-10-11 09:14:42', '', NULL, '');
|
|
|
+DELETE FROM sys_menu WHERE parent_id IN (1711913107380531202);
|
|
|
+INSERT INTO `sys_menu`(`id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `platform_type`, `icon`, `image_path`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (01717348743654797314, '列表', 1711913107380531202, 1, '', NULL, NULL, 1, 0, 'F', '0', '0', 'core:book:list', '1', NULL, NULL, '超级管理员', '2023-10-26 09:14:03', '超级管理员', '2023-10-26 09:15:25', '');
|
|
|
+INSERT INTO `sys_menu`(`id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `platform_type`, `icon`, `image_path`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (01717348861602820098, '详情', 1711913107380531202, 2, '', NULL, NULL, 1, 0, 'F', '0', '0', 'core:book:query', '1', NULL, NULL, '超级管理员', '2023-10-26 09:14:32', '超级管理员', '2023-10-26 09:15:30', '');
|
|
|
+INSERT INTO `sys_menu`(`id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `platform_type`, `icon`, `image_path`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (01717348927302397954, '新增', 1711913107380531202, 3, '', NULL, NULL, 1, 0, 'F', '0', '0', 'core:book:add', '1', NULL, NULL, '超级管理员', '2023-10-26 09:14:47', '超级管理员', '2023-10-26 09:15:35', '');
|
|
|
+INSERT INTO `sys_menu`(`id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `platform_type`, `icon`, `image_path`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (01717349049847377921, '删除', 1711913107380531202, 4, '', NULL, NULL, 1, 0, 'F', '0', '0', 'core:book:remove', '1', NULL, NULL, '超级管理员', '2023-10-26 09:15:16', '', NULL, '');
|
|
|
+DELETE FROM sys_menu WHERE menu_name IN ('行社高管部署登记','安全保卫部年度计划');
|
|
|
+INSERT INTO `sys_menu`(`id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `platform_type`, `icon`, `image_path`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (01717358753591980034, '行社高管部署登记', 1711912586825461761, 2, 'safetyBook/hsggbsdj', 'safetyBook/hsggbsdj/index', NULL, 1, 0, 'C', '0', '0', '', '1', 'clipboard', NULL, '超级管理员', '2023-10-26 09:53:50', '超级管理员', '2023-10-26 09:54:58', '');
|
|
|
+INSERT INTO `sys_menu`(`id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `platform_type`, `icon`, `image_path`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (01717358984232562689, '安全保卫部年度计划', 1711912586825461761, 3, 'safetyBook/aqbwbndjh', 'safetyBook/aqbwbndjh/index', NULL, 1, 0, 'C', '0', '0', NULL, '1', 'documentation', NULL, '超级管理员', '2023-10-26 09:54:45', '', NULL, '');
|
|
|
+DELETE FROM sys_menu WHERE parent_id IN (1717358753591980034,1717358984232562689);
|
|
|
+INSERT INTO `sys_menu`(`id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `platform_type`, `icon`, `image_path`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (01717371294217007105, '查询', 1717358753591980034, 1, '', NULL, NULL, 1, 0, 'F', '0', '0', 'core:hsggbsdj:list', '1', NULL, NULL, '超级管理员', '2023-10-26 10:43:40', '', NULL, '');
|
|
|
+INSERT INTO `sys_menu`(`id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `platform_type`, `icon`, `image_path`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (01717371373241888769, '详情', 1717358753591980034, 2, '', NULL, NULL, 1, 0, 'F', '0', '0', 'core:hsggbsdj:query', '1', NULL, NULL, '超级管理员', '2023-10-26 10:43:59', '', NULL, '');
|
|
|
+INSERT INTO `sys_menu`(`id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `platform_type`, `icon`, `image_path`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (01717371444800909314, '新增', 1717358753591980034, 3, '', NULL, NULL, 1, 0, 'F', '0', '0', 'core:hsggbsdj:add', '1', NULL, NULL, '超级管理员', '2023-10-26 10:44:16', '', NULL, '');
|
|
|
+INSERT INTO `sys_menu`(`id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `platform_type`, `icon`, `image_path`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (01717371509552574466, '修改', 1717358753591980034, 4, '', NULL, NULL, 1, 0, 'F', '0', '0', 'core:hsggbsdj:edit', '1', NULL, NULL, '超级管理员', '2023-10-26 10:44:31', '', NULL, '');
|
|
|
+INSERT INTO `sys_menu`(`id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `platform_type`, `icon`, `image_path`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (01717371575478644737, '删除', 1717358753591980034, 5, '', NULL, NULL, 1, 0, 'F', '0', '0', 'core:hsggbsdj:remove', '1', NULL, NULL, '超级管理员', '2023-10-26 10:44:47', '', NULL, '');
|
|
|
+INSERT INTO `sys_menu`(`id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `platform_type`, `icon`, `image_path`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (01717371668365701121, '列表', 1717358984232562689, 1, '', NULL, NULL, 1, 0, 'F', '0', '0', 'core:aqbwbndjh:list', '1', NULL, NULL, '超级管理员', '2023-10-26 10:45:09', '', NULL, '');
|
|
|
+INSERT INTO `sys_menu`(`id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `platform_type`, `icon`, `image_path`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (01717371766013292545, '详情', 1717358984232562689, 2, '', NULL, NULL, 1, 0, 'F', '0', '0', 'core:aqbwbndjh:query', '1', NULL, NULL, '超级管理员', '2023-10-26 10:45:32', '', NULL, '');
|
|
|
+INSERT INTO `sys_menu`(`id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `platform_type`, `icon`, `image_path`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (01717371829741547522, '新增', 1717358984232562689, 3, '', NULL, NULL, 1, 0, 'F', '0', '0', 'core:aqbwbndjh:add', '1', NULL, NULL, '超级管理员', '2023-10-26 10:45:48', '', NULL, '');
|
|
|
+INSERT INTO `sys_menu`(`id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `platform_type`, `icon`, `image_path`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (01717371889652985857, '修改', 1717358984232562689, 4, '', NULL, NULL, 1, 0, 'F', '0', '0', 'core:aqbwbndjh:edit', '1', NULL, NULL, '超级管理员', '2023-10-26 10:46:02', '', NULL, '');
|
|
|
+INSERT INTO `sys_menu`(`id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `platform_type`, `icon`, `image_path`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (01717371943881142274, '删除', 1717358984232562689, 5, '', NULL, NULL, 1, 0, 'F', '0', '0', 'core:aqbwbndjh:remove', '1', NULL, NULL, '超级管理员', '2023-10-26 10:46:15', '', NULL, '');
|
|
|
|
|
|
|
|
|
-- Web演练任务按钮及权限
|
|
|
@@ -1910,8 +1980,8 @@ INSERT INTO `sys_menu` (`id`, `menu_name`, `parent_id`, `order_num`, `path`, `co
|
|
|
INSERT INTO `sys_menu` (`id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `platform_type`, `icon`, `image_path`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (00000000000000002318, '检查任务', 2326, 4, 'check/task/index', 'check/task/index', NULL, 1, 0, 'C', '0', '0', '', '1', 'documentation', NULL, '超级管理员', '2023-09-21 10:37:52', '超级管理员', '2023-09-22 09:42:43', '');
|
|
|
INSERT INTO `sys_menu` (`id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `platform_type`, `icon`, `image_path`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (01706239529069875202, '下发', 2317, 6, '', NULL, NULL, 1, 0, 'F', '0', '0', 'core:checkplan:distribute', '1', '#', NULL, '超级管理员', '2023-09-26 09:56:04', '', NULL, '');
|
|
|
INSERT INTO `sys_menu` (`id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `platform_type`, `icon`, `image_path`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (00000000000000002214, '隐患问题清单', 2136, 4, '/problemItem', NULL, NULL, 1, 0, 'M', '0', '0', '', '0', 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFcAAABWCAMAAACNSvr7AAAAM1BMVEVHcEzNmKXNmKXNmKXNmKXNmKXNmKXNmKXNmKXNmKXNmKXNmKXNmKXNmKXNmKXNmKXNmKXc/5sSAAAAEHRSTlMA4NAQ8DBgQIDAoHAgUJCwaDv5MQAAAAlwSFlzAAALEgAACxIB0t1+/AAAAltJREFUWIXtmN12qyAQRkf+FUx4/6c9C4QaZQYwC08v6neTNqm7hIHNKDx58uSXwlfzRXRrsEb4b2Ia2OUrapNrv8S2uJP3flJuHszVAcsBRnON917BPVx94moytpv78t7DiVuftT7ufBM3jFfewOWzn+8Yb84d3OCdaTy38M4YbumdIVxVYMdww8QKI0fXDfPOCC7mnVHc/+Wdvlz3zggu5p0RXDeV3hnB/ZyP4Vx99M4grn36HQAQ0TuaDeaGHS8u9TtsZh3c4Afbu86m18rjVU4t4rp3iMyxk47+cYHd5EIPl2mAdflZ5rOpc3u9YwDUae8sNfLS5R2hQJYrRlia6ybPmuMVEjtevfdvXp2MFlcRWO9ZFaxt1TuGxPrty+KxDZcxkJVPX7XKVaMB/cevpEHi/rDpnTmu8SIKpKjNRPSOqnhnRYcbeo4EXtGSbcuIXg8TrAQ2g98Yt3mftWAF2LDAt2+JrbWmdxSUU5SwLn2CVa7pHQ35J5HPwYSV+XfMmE3vcJexMoHOWJTb9E7uIUNxAyq8HrFbY3OKbHkncTecFAgW5X7OBxrH47sJ5xAsfdLJlfZOqttRXAcsxV2r3jFpnTG5X6GPHRJuiIZ33rGV9XvBylsoFEurNYVnS2bw+Qp0H0epsJp37I93NrA+/wE6De3nO9M+QKHOJSNXWcfzHfNhCFVgiap19DvCfZxDBZZYZD39DqsUl9prXf3Ocv2c7+t3KPBCtg9SbN6R9M1rCAdd7spaH9XqN/fw83MVerBXo957vewwaozU1ljdfFb95M/nSQoA/AN/gr7nzB2jDwAAAABJRU5ErkJggg==', NULL, '超级管理员', '2023-09-20 15:14:35', '超级管理员', '2023-09-20 17:47:12', '');
|
|
|
-
|
|
|
-
|
|
|
+DELETE FROM sys_menu WHERE id in(01717447477334949890);
|
|
|
+INSERT INTO `sys_menu` VALUES (01717447477334949890, '外包评价', 2136, 1, '/resumptionEvaluate', NULL, NULL, 1, 0, 'M', '0', '0', '', '0', '/statics/2023/09/16/20230916232743A004.png', NULL, '超级管理员', '2023-09-08 11:20:51', '超级管理员', '2023-09-16 23:27:44', '');
|
|
|
DELETE FROM sys_menu WHERE id IN(01717082444588490754,01717082281321013249,01717081940877746178,01717081756911378434,01717076927401005058,01717079254782545922,01717080888703033346,01717081123747635202,01717081262801395714,01717081426194702337,01717081639428923393);
|
|
|
INSERT INTO `sys_menu` (`id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `platform_type`, `icon`, `image_path`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`)
|
|
|
VALUES (01717076927401005058, '评价计划管理', 00000000000000002000, 1, 'resumption', 'resumptionEvaluate/evaluate/index', NULL, 1, 1, 'C', '0', '0', 'core:evaluatePlan:list', '1', 'excel', NULL, '超级管理员', '2023-09-21 10:37:52', '超级管理员', '2023-09-22 09:42:43', '');
|
|
|
@@ -2062,7 +2132,7 @@ INSERT INTO core_safety_dict (id, code, parent_code, name) VALUES (60, '100502',
|
|
|
INSERT INTO core_safety_dict (id, code, parent_code, name) VALUES (61, '10050201', '100502', '已确认但未在规定时间内完成整改');
|
|
|
INSERT INTO core_safety_dict (id, code, parent_code, name) VALUES (62, '1006', '-1', '监控调阅');
|
|
|
INSERT INTO core_safety_dict (id, code, parent_code, name) VALUES (63, '100601', '1006', '监控调阅-未登');
|
|
|
-INSERT INTO core_safety_dict (id, code, parent_code, name) VALUES (64, '10060101', '100601', '未登-网点安全员(每周)');
|
|
|
+INSERT INTO core_safety_dict (id, code, parent_code, name) VALUES (64, '10060101', '100601', '未登-网点负责人(每周)');
|
|
|
|
|
|
|
|
|
INSERT INTO core_safety_index_calculate_rule (id, type_code, project_code, point_code, deduction_type, score, formula, org_type, deleted, cycle, remark, create_time, create_by, update_time, update_by) VALUES (3846713285328896, '1005', '100501', '10050101', 2, 10, '扣分=问题数量*K+风险等级为“重大”的问题数量*K1+风险等级为“关注”的问题数量*K2+风险等级为“一般”的问题数量*K3+风险等级为“轻微”的问题数量*K4;得分大于10,取分值10。K为调节系数,可变更,建议测试期间K=0.05;K1=0.05;K2=0.15;K3=0.2;K4=0.25。', 3, 0, null, null, now(), null, now(), null);
|
|
|
@@ -2138,7 +2208,13 @@ INSERT INTO core_safety_index_calculate_rule_item (id, rule_id, indicator_note,
|
|
|
INSERT INTO core_safety_index_calculate_rule_item (id, rule_id, indicator_note, calculate_type, indicator_days, item_type, item_value, order_num, create_time, create_by, update_time, update_by) VALUES (1717123345560989697, 1714172822255894529, '连续三次未登', 2, 3, null, 1, 0, now(), null, now(), null);
|
|
|
INSERT INTO core_safety_index_calculate_rule_item (id, rule_id, indicator_note, calculate_type, indicator_days, item_type, item_value, order_num, create_time, create_by, update_time, update_by) VALUES (1717123345565184002, 1714172822255894529, '连续五次未登', 2, 5, null, 1, 0, now(), null, now(), null);
|
|
|
INSERT INTO core_safety_index_calculate_rule_item (id, rule_id, indicator_note, calculate_type, indicator_days, item_type, item_value, order_num, create_time, create_by, update_time, update_by) VALUES (1717123345569378306, 1714172822255894529, '连续十次未登', 2, 10, null, 1, 0, now(), null, now(), null);
|
|
|
-
|
|
|
+delete from sys_dict_type where dict_type='evaluate_status';
|
|
|
+delete from sys_dict_data where dict_type='evaluate_status';
|
|
|
+INSERT INTO sys_dict_type (dict_name, dict_type, status, create_by, create_time, update_by, update_time, remark) VALUES ('评价状态', 'evaluate_status', '0', 'slsjyc', now(), '', 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 (0, '未评价', '0', 'evaluate_status', null, 'default', 'N', '0', 'slsjyc', now(), 'slsjyc', now(), 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', 'evaluate_status', null, 'default', 'N', '0', 'slsjyc', now(), 'slsjyc', now(), null);
|
|
|
|
|
|
-- 新增教育培训资料类型字典
|
|
|
delete from sys_dict_type where dict_type='edu_materials_type';
|