|
@@ -381,7 +381,7 @@ 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 (2228, '演练计划编辑', 2321, 4, '', null, null, 1, 0, 'F', '0', '0', 'core:drillPlan:edit', '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 (2228, '演练计划编辑', 2321, 4, '', null, null, 1, 0, 'F', '0', '0', 'core:drillPlan:edit', '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 (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 (2229, '演练计划删除', 2321, 5, '', null, null, 1, 0, 'F', '0', '0', 'core:drillPlan:remove', '1', null, null, '超级管理员', now(), '', null, '');
|
|
|
|
|
|
|
|
---检查任务表
|
|
|
|
|
|
|
+-- 检查任务表
|
|
|
DROP TABLE IF EXISTS `core_safety_task`;
|
|
DROP TABLE IF EXISTS `core_safety_task`;
|
|
|
CREATE TABLE `core_safety_task` (
|
|
CREATE TABLE `core_safety_task` (
|
|
|
`id` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
|
|
`id` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
|
|
@@ -498,7 +498,7 @@ CREATE TABLE `core_message_send` (
|
|
|
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '消息发送配置' ROW_FORMAT = Dynamic;
|
|
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '消息发送配置' ROW_FORMAT = Dynamic;
|
|
|
|
|
|
|
|
SET FOREIGN_KEY_CHECKS = 1;
|
|
SET FOREIGN_KEY_CHECKS = 1;
|
|
|
---消息发送配置end
|
|
|
|
|
|
|
+-- 消息发送配置end
|
|
|
|
|
|
|
|
-- ----------------------------
|
|
-- ----------------------------
|
|
|
-- Table structure for core_message_center
|
|
-- Table structure for core_message_center
|
|
@@ -520,7 +520,7 @@ CREATE TABLE `core_message_center` (
|
|
|
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '消息中心' ROW_FORMAT = Dynamic;
|
|
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '消息中心' ROW_FORMAT = Dynamic;
|
|
|
|
|
|
|
|
SET FOREIGN_KEY_CHECKS = 1;
|
|
SET FOREIGN_KEY_CHECKS = 1;
|
|
|
---消息中心end
|
|
|
|
|
|
|
+-- 消息中心end
|
|
|
DROP TABLE IF EXISTS `core_safety_task_data_remark`;
|
|
DROP TABLE IF EXISTS `core_safety_task_data_remark`;
|
|
|
CREATE TABLE `core_safety_task_data_remark` (
|
|
CREATE TABLE `core_safety_task_data_remark` (
|
|
|
`id` bigint NOT NULL DEFAULT '0',
|
|
`id` bigint NOT NULL DEFAULT '0',
|
|
@@ -542,7 +542,8 @@ CREATE TABLE `core_safety_task_data_remarkimg` (
|
|
|
KEY `data_id` (`remark_id`) USING BTREE
|
|
KEY `data_id` (`remark_id`) USING BTREE
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='安全检查产生图片表';
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='安全检查产生图片表';
|
|
|
|
|
|
|
|
---调整安全检查字段
|
|
|
|
|
|
|
+-- 调整core_safecheck_plan字段
|
|
|
|
|
+-- 调整安全检查字段
|
|
|
DELIMITER $$
|
|
DELIMITER $$
|
|
|
CREATE PROCEDURE add_column_if_not_exists()
|
|
CREATE PROCEDURE add_column_if_not_exists()
|
|
|
BEGIN
|
|
BEGIN
|