Showing
2 changed files
with
7 additions
and
7 deletions
| @@ -211,7 +211,7 @@ public class EnergyPullService { | @@ -211,7 +211,7 @@ public class EnergyPullService { | ||
| 211 | String id = UUID.randomUUID().toString().replace("-", ""); | 211 | String id = UUID.randomUUID().toString().replace("-", ""); |
| 212 | jt.update("INSERT INTO " + energyTableName + | 212 | jt.update("INSERT INTO " + energyTableName + |
| 213 | " (id, corp_code, created_at, created_by, updated_at, updated_by, deviceName, projectType, projectState, dtuSn, dtuId, deviceId, evalue, duration, runStatus)" + | 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 | id, corpCode, now, "system", now, "system", | 215 | id, corpCode, now, "system", now, "system", |
| 216 | deviceName, projectType, projectState, dtuSn, dtuId, deviceId, evalue, duration, runStatus); | 216 | deviceName, projectType, projectState, dtuSn, dtuId, deviceId, evalue, duration, runStatus); |
| 217 | } | 217 | } |
| @@ -4,7 +4,7 @@ spring: | @@ -4,7 +4,7 @@ spring: | ||
| 4 | main: | 4 | main: |
| 5 | banner-mode: off | 5 | banner-mode: off |
| 6 | datasource: | 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 | username: root | 8 | username: root |
| 9 | password: "qiXiao.20240826.mysql.com" | 9 | password: "qiXiao.20240826.mysql.com" |
| 10 | driver-class-name: com.mysql.cj.jdbc.Driver | 10 | driver-class-name: com.mysql.cj.jdbc.Driver |
| @@ -12,14 +12,14 @@ spring: | @@ -12,14 +12,14 @@ spring: | ||
| 12 | redis: | 12 | redis: |
| 13 | cluster: | 13 | cluster: |
| 14 | nodes: # 集群节点列表 | 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 | max-redirects: 3 # 最大重定向次数 | 18 | max-redirects: 3 # 最大重定向次数 |
| 19 | password: "Qixiao@redis20240410.com" # 如果有密码 | 19 | password: "Qixiao@redis20240410.com" # 如果有密码 |
| 20 | 20 | ||
| 21 | server: | 21 | server: |
| 22 | - port: 8080 | 22 | + port: 33221 |
| 23 | 23 | ||
| 24 | logging: | 24 | logging: |
| 25 | level: | 25 | level: |
| @@ -93,4 +93,4 @@ energy: | @@ -93,4 +93,4 @@ energy: | ||
| 93 | # 公司配置表(主数据库中存储各公司的数据源和IoT配置) | 93 | # 公司配置表(主数据库中存储各公司的数据源和IoT配置) |
| 94 | corp: | 94 | corp: |
| 95 | config: | 95 | config: |
| 96 | - tableName: "t_auto_ymk_ccfg_corp_conf" | 96 | + tableName: "t_auto_hnlt_ccfg_corp_conf" |