Browse Source

feature: 项目启动报错脚本和配置类修改

mazq 2 years ago
parent
commit
de52a1fb3c

+ 2 - 2
dcuc-app-service/src/main/resources/application-base.yml

@@ -3,7 +3,7 @@ spring:
     username: dcuc
     password: 123
     driver-class-name: com.mysql.jdbc.Driver
-    url: jdbc:mysql://10.254.10.31:3306/dcuc_tjdsj_2.0?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&useSSL=false
+    url: jdbc:mysql://10.254.10.31:3306/dcuc_xjaks?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&useSSL=false
     druid:
       filters: stat,sqlaudit
       max-active: 60
@@ -75,7 +75,7 @@ mybatis-plus:
 duceap:
   flyway:
     # 是否执行flyway
-    enabled: false
+    enabled: true
     # 执行flyway路径
     locations: classpath:/config/mysql
   mybatis-plus:

+ 3 - 3
dcuc-app-service/src/main/resources/config/mysql/V4_1_0007__app_del_orgid.sql

@@ -1,7 +1,7 @@
 -- 历史数据处理
-UPDATE t_apply_info a
-    JOIN t_org_info o ON a.org_id = o.id
-SET a.org_code = o.CODE;
+-- UPDATE t_apply_info a
+--     JOIN t_org_info o ON a.org_id = o.id
+-- SET a.org_code = o.CODE;
 
 ALTER TABLE T_APPLY_INFO
     DROP COLUMN ORG_ID;