浏览代码

1、修复bug

lqkj@you07.com 11 月之前
父节点
当前提交
bf35c9a23b
共有 1 个文件被更改,包括 22 次插入0 次删除
  1. 22 0
      src/main/resources/db/migration/V1_3__20230515.sql

+ 22 - 0
src/main/resources/db/migration/V1_3__20230515.sql

@@ -0,0 +1,22 @@
1
+delete from cms_news;
2
+delete from cms_category;
3
+INSERT INTO "cms_category"("category_id", "parent_id", "ancestors", "name", "category_type", "diy_url", "order_num", "create_by", "create_time") VALUES (1, 0, NULL, '新闻资讯', 0, NULL, 1, '超级管理员', '2023-04-28 15:05:14.078403');
4
+INSERT INTO "cms_category"("category_id", "parent_id", "ancestors", "name", "category_type", "diy_url", "order_num", "create_by", "create_time") VALUES (2, 0, NULL, '关于我们', 0, NULL, 2, '超级管理员', '2023-04-28 15:05:14.078403');
5
+INSERT INTO "cms_category"("category_id", "parent_id", "ancestors", "name", "category_type", "diy_url", "order_num", "create_by", "create_time") VALUES (4, 1, NULL, '水利要闻', 0, NULL, 1, '超级管理员', '2023-04-28 15:05:14.078403');
6
+INSERT INTO "cms_category"("category_id", "parent_id", "ancestors", "name", "category_type", "diy_url", "order_num", "create_by", "create_time") VALUES (6, 1, NULL, '政策文件', 0, NULL, 3, '超级管理员', '2023-04-28 15:05:14.078403');
7
+INSERT INTO "cms_category"("category_id", "parent_id", "ancestors", "name", "category_type", "diy_url", "order_num", "create_by", "create_time") VALUES (8, 2, NULL, '机构设置', 1, NULL, 2, '超级管理员', '2023-04-28 15:05:14.078403');
8
+INSERT INTO "cms_category"("category_id", "parent_id", "ancestors", "name", "category_type", "diy_url", "order_num", "create_by", "create_time") VALUES (5, 1, NULL, '工作掠影', 0, NULL, 2, '超级管理员', '2023-04-28 15:05:14.078403');
9
+INSERT INTO "cms_category"("category_id", "parent_id", "ancestors", "name", "category_type", "diy_url", "order_num", "create_by", "create_time") VALUES (7, 2, NULL, '工作简介', 1, NULL, 1, '超级管理员', '2023-04-28 15:05:14.078403');
10
+INSERT INTO "cms_category"("category_id", "parent_id", "ancestors", "name", "category_type", "diy_url", "order_num", "create_by", "create_time") VALUES (9, 2, NULL, '工作职责', 1, NULL, 3, '超级管理员', '2023-04-28 15:05:14.078403');
11
+INSERT INTO "cms_category"("category_id", "parent_id", "ancestors", "name", "category_type", "diy_url", "order_num", "create_by", "create_time") VALUES (3, 0, NULL, '水利工作', 0, NULL, 3, '超级管理员', '2023-04-28 15:05:14.078403');
12
+INSERT INTO "cms_category"("category_id", "parent_id", "ancestors", "name", "category_type", "diy_url", "order_num", "create_by", "create_time") VALUES (10, 3, NULL, '水政工作', 0, NULL, 1, '超级管理员', '2023-04-28 15:05:14.078403');
13
+INSERT INTO "cms_category"("category_id", "parent_id", "ancestors", "name", "category_type", "diy_url", "order_num", "create_by", "create_time") VALUES (12, 3, NULL, '水利工作', 0, NULL, 3, '超级管理员', '2023-04-28 15:05:14.078403');
14
+INSERT INTO "cms_category"("category_id", "parent_id", "ancestors", "name", "category_type", "diy_url", "order_num", "create_by", "create_time") VALUES (11, 3, NULL, '水保工作', 0, NULL, 2, '超级管理员', '2023-04-28 15:05:14.078403');
15
+INSERT INTO "cms_category"("category_id", "parent_id", "ancestors", "name", "category_type", "diy_url", "order_num", "create_by", "create_time") VALUES (13, 0, NULL, '河湖长简介', 0, NULL, 4, '超级管理员', '2023-05-15 10:59:16.137688');
16
+INSERT INTO "cms_category"("category_id", "parent_id", "ancestors", "name", "category_type", "diy_url", "order_num", "create_by", "create_time") VALUES (14, 13, NULL, '防汛减灾', 0, NULL, 1, '超级管理员', '2023-05-15 11:00:04.181335');
17
+INSERT INTO "cms_category"("category_id", "parent_id", "ancestors", "name", "category_type", "diy_url", "order_num", "create_by", "create_time") VALUES (15, 13, NULL, '河湖长制', 0, NULL, 2, '超级管理员', '2023-05-15 11:00:15.784135');
18
+INSERT INTO "cms_category"("category_id", "parent_id", "ancestors", "name", "category_type", "diy_url", "order_num", "create_by", "create_time") VALUES (16, 13, NULL, '工作掠影', 0, NULL, 3, '超级管理员', '2023-05-15 11:00:25.423912');
19
+INSERT INTO "cms_category"("category_id", "parent_id", "ancestors", "name", "category_type", "diy_url", "order_num", "create_by", "create_time") VALUES (17, 0, NULL, '水电移民', 0, NULL, 5, '超级管理员', '2023-05-15 11:01:37.016268');
20
+INSERT INTO "cms_category"("category_id", "parent_id", "ancestors", "name", "category_type", "diy_url", "order_num", "create_by", "create_time") VALUES (18, 17, NULL, '水电站简介', 0, NULL, 1, '超级管理员', '2023-05-15 11:02:04.461432');
21
+INSERT INTO "cms_category"("category_id", "parent_id", "ancestors", "name", "category_type", "diy_url", "order_num", "create_by", "create_time") VALUES (19, 17, NULL, '政策法规', 0, NULL, 2, '超级管理员', '2023-05-15 11:02:16.151489');
22
+INSERT INTO "cms_category"("category_id", "parent_id", "ancestors", "name", "category_type", "diy_url", "order_num", "create_by", "create_time") VALUES (20, 17, NULL, '工作掠影', 0, NULL, 3, '超级管理员', '2023-05-15 11:02:31.92061');