Browse Source

fix:x3d引擎

liaoyitao 1 month ago
parent
commit
e67e02e7b3

+ 11 - 11
src/main/resources/db/migration/V2__1.0.0.sql

@@ -136,17 +136,17 @@ comment on column authority_info.order_id is
136 136
 '排序:order_id';
137 137
 
138 138
 insert into authority_info values
139
-    (1, null, '模板管理', 'Template', '/Template', '#', '/Template/TemplateManage', null, 1),
140
-    (2, 1, '模板管理', 'TemplateManage', 'TemplateManage', 'views/Template/TemplateManage', null, 'ant-design:dashboard-filled', 2),
139
+    (1, null, '区域管理', 'Template', '/Template', '#', '/Template/TemplateManage', null, 1),
140
+    (2, 1, '区域管理', 'TemplateManage', 'TemplateManage', 'views/Template/TemplateManage', null, 'ant-design:dashboard-filled', 2),
141 141
     (3, null, '资源管理', 'Resource', '/Resource', '#', '/Resource/ResourceManage', null, 3),
142
-    (4, 3, '资源管理', 'ResourceManage', 'ResourceManage', 'views/Resource/ResourceManage', null, 'carbon:skill-level-advanced', 4),
143
-    (5, null, '审核管理', 'Audit', '/Audit', '#', '/Audit/AuditManage', null, 5),
144
-    (6, 5, '审核管理', 'AuditManage', 'AuditManage', 'views/Audit/AuditManage', null, 'ri:function-fill', 6),
145
-    (7, null, '权限管理', 'Authority', '/Authority', '#', '/Authority/AuditManage', 'eos-icons:role-binding', 7),
146
-    (8, 7, '用户管理', 'User', 'User', 'views/Authority/User', null, null, 8),
147
-    (9, 7, '角色管理', 'Role', 'Role', 'views/Authority/Role', null, null, 9),
148
-    (10, null, '系统设置', 'System', '/System', '#', '/System/SystemSetting', null, 10),
149
-    (11, 10, '系统设置', 'SystemSetting', 'SystemSetting', 'views/System/SystemSetting', null, 'ic:outline-webhook', 11);
142
+    (4, 3, '资源管理', 'ResourceManage', 'ResourceManage', 'views/Resource/ResourceManage', null, 'carbon:skill-level-advanced', 4);
143
+--     (5, null, '审核管理', 'Audit', '/Audit', '#', '/Audit/AuditManage', null, 5),
144
+--     (6, 5, '审核管理', 'AuditManage', 'AuditManage', 'views/Audit/AuditManage', null, 'ri:function-fill', 6),
145
+--     (7, null, '权限管理', 'Authority', '/Authority', '#', '/Authority/AuditManage', 'eos-icons:role-binding', 7),
146
+--     (8, 7, '用户管理', 'User', 'User', 'views/Authority/User', null, null, 8),
147
+--     (9, 7, '角色管理', 'Role', 'Role', 'views/Authority/Role', null, null, 9),
148
+--     (10, null, '系统设置', 'System', '/System', '#', '/System/SystemSetting', null, 10),
149
+--     (11, 10, '系统设置', 'SystemSetting', 'SystemSetting', 'views/System/SystemSetting', null, 'ic:outline-webhook', 11);
150 150
 
151 151
 /*==============================================================*/
152 152
 /* Table: bulletin_info                                         */
@@ -387,7 +387,7 @@ comment on column role_authority.role_id is
387 387
 comment on column role_authority.authority_id is
388 388
 '权限ID:authority_id';
389 389
 
390
-insert into role_authority select 1,  generate_series (1, 11);
390
+insert into role_authority select 1,  generate_series (1, 4);
391 391
 
392 392
 /*==============================================================*/
393 393
 /* Table: role_info                                             */

+ 18 - 0
src/main/resources/db/migration/V3__1.0.1.sql

@@ -0,0 +1,18 @@
1
+alter table geom_info
2
+    add column if not exists pics varchar(1024),
3
+    add column if not exists video_url varchar(1024),
4
+    add column if not exists audio_url varchar(1024),
5
+    add column if not exists brief text,
6
+    add column if not exists navigation bool default false,
7
+    add column if not exists navigation_end varchar(100);
8
+
9
+comment on column geom_info.pics is '图片地址:pics';
10
+comment on column geom_info.video_url is '视频文件地址:video_url';
11
+comment on column geom_info.audio_url is '音频文件地址:audio_url';
12
+comment on column geom_info.brief is '简介:brief';
13
+comment on column geom_info.navigation is '是否导航:navigation';
14
+comment on column geom_info.navigation_end is '导航终点:navigation_end';
15
+
16
+
17
+ALTER TABLE model_info
18
+ALTER COLUMN texture_path TYPE VARCHAR(5000);