
SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for core_announcement_notification
-- ----------------------------
DROP TABLE IF EXISTS `sync_fjnx_org_move`;
CREATE TABLE `sync_fjnx_org_move` (
  `id` bigint NOT NULL AUTO_INCREMENT,
  `org_code` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '需要移动到自定义机构下的机构编码',
  `org_type` int DEFAULT NULL COMMENT '1: 部门 2： 机构 ',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=98 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='配置特殊的机构和部门机构，决定是否要移动到机关机构下';

-- ----------------------------
-- Records of core_announcement_notification
-- ----------------------------


SET FOREIGN_KEY_CHECKS = 1;
-- 监控调阅任务按钮菜单
delete from  sys_menu where id in(2197,2198) ;
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 (2197, '导出', 2073, 1, '', NULL, NULL, 1, 0, 'F', '0', '0', 'core:task:export', '1', '#', NULL, '超级管理员', '2023-09-14 16:10:03', '', 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 (2198, '详情', 2073, 2, '', NULL, NULL, 1, 0, 'F', '0', '0', 'core:task:query', '1', '#', NULL, '超级管理员', '2023-09-14 16:10:35', '超级管理员', '2023-09-14 19:26:20', '');

-- 修改教育培训菜单名称
update sys_menu set menu_name ='安全教育' where id=2127;
update sys_menu set menu_name ='知识库标签管理' where id=2038;
update sys_menu set menu_name ='上传学习资料' where id=2045;
update sys_menu set menu_name ='培训计划管理' where id=2059;
update sys_menu set menu_name ='培训任务管理' where id=2079;