\345\237\272\347\241\200APP/\350\277\220\347\273\264\347\233\221\346\216\247\357\274\210iidp-monitor\357\274\211.md
... ...
@@ -20,7 +20,36 @@
20 20
21 21
2.修改菜单目录
22 22
23
-## v3.0.0
23
+业务修改了项目名称和菜单更新时需要按以下步骤执行脚本
24
+一、在应用商城卸载iidp-monitor app。
25
+
26
+二、在对应数据库执行如下语句
27
+##权限更新
28
+update `tenant_view_ref_model` set app_name='sie-iidp-monitor' where app_name = 'iidp-monitor';
29
+update `tenant_show_ui_menu` set app_name='sie-iidp-monitor' where app_name = 'iidp-monitor';
30
+update `tenant_permission` set app_name='sie-iidp-monitor' where app_name = 'iidp-monitor';
31
+##update `tenant_function_auth` set app_name='sie-iidp-monitor' where app_name = 'iidp-monitor';
32
+update `tenant_data_auth` set app_name='sie-iidp-monitor' where app_name = 'iidp-monitor';
33
+update `tenant_api_ref_model` set app_name='sie-iidp-monitor' where app_name = 'iidp-monitor';
34
+update `meta_attachment` set app_id='sie-iidp-monitor' where app_id = 'iidp-monitor';
35
+##update `config_center` set app='sie-iidp-monitor' where app = 'iidp-monitor';
36
+UPDATE config_center SET id=CONCAT('sie-',id),app=CONCAT('sie-',app) where app = 'iidp-cloud-edge' AND tag='master';
37
+update `operator_blacklist` set app_name='sie-iidp-monitor' where app_name = 'iidp-monitor';
38
+##update `operator_log` set app_name='sie-iidp-monitor' where app_name = 'iidp-monitor';
39
+##业务更新
40
+UPDATE FROM ops_tracking_service_model SET app_code='iidp-monitor' WHERE app_code='iidp-monitor';
41
+
42
+##权限删除
43
+DELETE FROM tenant_function_auth WHERE app_name='iidp-monitor';
44
+
45
+三、重新在应用商城上传新的sie-iidp-monitor.jar后端包以及前端包,并且安装。
46
+
47
+四、查看配置中心,看是否有iidp-cloud-edge相关字段,统一修改为sie-iidp-cloud-edge。
48
+
49
+五、执行更新数据和重置种子数据,并且刷新权限。
50
+
51
+
52
+## v1.3.1
24 53
25 54
**发版日期**
26 55