|
|
@@ -147,7 +147,7 @@ INSERT INTO `sys_dict_data`(`dict_code`, `dict_sort`, `dict_label`, `dict_value`
|
|
|
INSERT INTO `sys_dict_data`(`dict_code`, `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 (358, 0, '待发布', '0', 'message_status', NULL, 'default', 'N', '0', '超级管理员', '2023-09-13 17:09:11', '', NULL, NULL);
|
|
|
INSERT INTO `sys_dict_data`(`dict_code`, `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 (359, 0, '已发布', '1', 'message_status', NULL, 'default', 'N', '0', '超级管理员', '2023-09-13 17:09:19', '', NULL, NULL);
|
|
|
|
|
|
-delete from sys_menu where in in(2196,2208,2209,2210,2211,2212,2213);
|
|
|
+delete from sys_menu where id in(2196,2208,2209,2210,2211,2212,2213);
|
|
|
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 (2196, '公告通知', 2168, 1, 'core/message', 'core/message/index', NULL, 1, 0, 'C', '0', '0', 'core:notification:list', '1', 'dashboard', NULL, '超级管理员', '2023-09-13 17:50:26', '超级管理员', '2023-09-15 16:47:45', '');
|
|
|
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 (2208, '详情', 2196, 1, '', NULL, NULL, 1, 0, 'F', '0', '0', 'core:notification:query', '1', '#', NULL, '超级管理员', '2023-09-19 15:17:27', '', 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 (2209, '编辑', 2196, 2, '', NULL, NULL, 1, 0, 'F', '0', '0', 'core:notification:edit', '1', '#', NULL, '超级管理员', '2023-09-19 15:17:56', '', NULL, '');
|
|
|
@@ -197,7 +197,17 @@ INDEX `notification_id_index`(`announcement_notification_id`) USING BTREE,
|
|
|
INDEX `role_id_index`(`role_id`) USING BTREE
|
|
|
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '公告通知角色关联表' ROW_FORMAT = Dynamic;
|
|
|
|
|
|
-
|
|
|
+DROP TABLE IF EXISTS `core_announcement_notification_to_user`;
|
|
|
+CREATE TABLE `core_announcement_notification_to_user` (
|
|
|
+`id` bigint(0) NOT NULL,
|
|
|
+`announcement_notification_id` bigint(0) NULL DEFAULT NULL COMMENT '公告通知id',
|
|
|
+`org_id` bigint(0) NULL DEFAULT NULL COMMENT '机构id',
|
|
|
+`role_id` bigint(0) NULL DEFAULT NULL COMMENT '角色id',
|
|
|
+`user_id` bigint(0) NULL DEFAULT NULL COMMENT '用户id',
|
|
|
+PRIMARY KEY (`id`) USING BTREE,
|
|
|
+INDEX `user_id_index`(`user_id`) USING BTREE,
|
|
|
+INDEX `announcement_notification_id_index`(`announcement_notification_id`) USING BTREE
|
|
|
+) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '公告通知查看记录表' ROW_FORMAT = Dynamic;
|
|
|
|
|
|
-- 公告通知end
|
|
|
|