Commit 4a6ba456001219376259b0e996a0c51b08edf647

Authored by 杨鸣坤
1 parent 6d13e8c0

chore: 更新数据库、Redis及服务端口配置

... ... @@ -211,7 +211,7 @@ public class EnergyPullService {
211 211 String id = UUID.randomUUID().toString().replace("-", "");
212 212 jt.update("INSERT INTO " + energyTableName +
213 213 " (id, corp_code, created_at, created_by, updated_at, updated_by, deviceName, projectType, projectState, dtuSn, dtuId, deviceId, evalue, duration, runStatus)" +
214   - " VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)",
  214 + " VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)",
215 215 id, corpCode, now, "system", now, "system",
216 216 deviceName, projectType, projectState, dtuSn, dtuId, deviceId, evalue, duration, runStatus);
217 217 }
... ...
... ... @@ -4,7 +4,7 @@ spring:
4 4 main:
5 5 banner-mode: off
6 6 datasource:
7   - url: jdbc:mysql://10.9.1.252:3306/qixiao-apaas?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
  7 + url: jdbc:mysql://192.168.1.248:3306/qixiao-apaas?characterEncoding=utf-8&useSSL=false
8 8 username: root
9 9 password: "qiXiao.20240826.mysql.com"
10 10 driver-class-name: com.mysql.cj.jdbc.Driver
... ... @@ -12,14 +12,14 @@ spring:
12 12 redis:
13 13 cluster:
14 14 nodes: # 集群节点列表
15   - - 10.9.1.252:16380
16   - - 10.9.1.252:16381
17   - - 10.9.1.252:16382
  15 + - 192.168.1.248:16380
  16 + - 192.168.1.248:16381
  17 + - 192.168.1.248:16382
18 18 max-redirects: 3 # 最大重定向次数
19 19 password: "Qixiao@redis20240410.com" # 如果有密码
20 20
21 21 server:
22   - port: 8080
  22 + port: 33221
23 23
24 24 logging:
25 25 level:
... ... @@ -93,4 +93,4 @@ energy:
93 93 # 公司配置表(主数据库中存储各公司的数据源和IoT配置)
94 94 corp:
95 95 config:
96   - tableName: "t_auto_ymk_ccfg_corp_conf"
  96 + tableName: "t_auto_hnlt_ccfg_corp_conf"
... ...