|
@@ -16,18 +16,18 @@ spring:
|
|
|
charset: UTF-8
|
|
|
enabled: true
|
|
|
datasource:
|
|
|
- driver-class-name: com.mysql.cj.jdbc.Driver
|
|
|
- url: jdbc:mysql://123.60.219.66/wisdom_cs?useUnicode=true&characterEncoding=UTF-8&serverTimezone=UTC
|
|
|
- username: root
|
|
|
- password: gyeepd@123
|
|
|
# driver-class-name: org.postgresql.Driver
|
|
|
# url: jdbc:postgresql://123.60.219.66:5432/wisdom_cs
|
|
|
# username: postgres
|
|
|
# password: gyeepd@123
|
|
|
+ driver-class-name: com.mysql.cj.jdbc.Driver
|
|
|
+ url: jdbc:mysql://123.60.219.66/wisdom_cs?useUnicode=true&characterEncoding=UTF-8&serverTimezone=UTC
|
|
|
+ username: root
|
|
|
+ password: gyeepd@123
|
|
|
# driver-class-name: oracle.jdbc.OracleDriver
|
|
|
-# url: jdbc:oracle:thin:@10.83.68.165:1521:gdsj
|
|
|
-# username: gdprod
|
|
|
-# password: gd123
|
|
|
+# url: jdbc:oracle:thin:@123.60.213.70:1521:gdnxfd
|
|
|
+# username: nxfdprod
|
|
|
+# password: gdnxfd123
|
|
|
type: com.alibaba.druid.pool.DruidDataSource
|
|
|
druid:
|
|
|
max-active: 20
|
|
@@ -46,7 +46,7 @@ spring:
|
|
|
|
|
|
mybatis-plus:
|
|
|
typeAliasesPackage: com.gyee.wisdom.alarm.sharding.entity
|
|
|
- mapper-locations: classpath:mappers/*.xml
|
|
|
+ mapper-locations: classpath:mappers-oracle/*.xml
|
|
|
global-config:
|
|
|
#主键类型 0:"数据库ID自增", 1:"用户输入ID",2:"全局唯一ID (数字类型唯一ID)", 3:"全局唯一ID UUID";
|
|
|
id-type: 3
|
|
@@ -71,7 +71,7 @@ mybatis-plus:
|
|
|
configuration:
|
|
|
#配置返回数据库(column下划线命名&&返回java实体是驼峰命名),自动匹配无需as(没开启这个,SQL需要写as: select user_id as userId)
|
|
|
map-underscore-to-camel-case: true
|
|
|
- cache-enabled: true
|
|
|
+ cache-enabled: false
|
|
|
#配置JdbcTypeForNull, oracle数据库必须配置
|
|
|
jdbc-type-for-null: 'null'
|
|
|
callSettersOnNulls: true
|
|
@@ -93,7 +93,7 @@ sharding:
|
|
|
count:
|
|
|
custom: true
|
|
|
fault: false
|
|
|
-stationname: HNJ
|
|
|
+stationname: MHS,XS,NSS,QS,SBQ,DWK,HZJ,MCH,PL,XH,XS,BY
|
|
|
#tablespace: TS_GDSJ_DATA
|
|
|
tablespace: TS_NXFD_DATA
|
|
|
adapterUrl: http://123.60.219.66:8011/ts
|
|
@@ -101,3 +101,6 @@ rule_encryption: false
|
|
|
#升压站开关首页top查询是否显示解除的流水,默认为true
|
|
|
syz_kg_relieve_show: false
|
|
|
|
|
|
+homestat:
|
|
|
+ alertIds: HD10,HD11,HD12,HD13,HD06,HD07,HD33,HD08,HD09,HD10
|
|
|
+
|