bugfix 修复电池充电报告发送信息缺少参数

This commit is contained in:
Lemon
2026-01-09 14:35:11 +08:00
parent c2e6722429
commit 20f881f394
8 changed files with 19 additions and 6 deletions

View File

@@ -53,6 +53,9 @@ public class BatteryChargeReportService {
@Value("${batteryChargeReport.token}")
private String token;
@Value("${batteryChargeReport.mfrID}")
private String mfrID;
@Autowired
private RedisCache redisCache;
@@ -211,7 +214,7 @@ public class BatteryChargeReportService {
.collect(Collectors.toSet());
BatteryChargeReportData data = BatteryChargeReportData.builder()
.mfrID("")
.mfrID(mfrID)
.siteName(stationVO.getStationName())
.siteAddress(stationVO.getAddress())
.siteLongitude(stationVO.getStationLng())
@@ -221,7 +224,7 @@ public class BatteryChargeReportService {
.businessStatus(Constants.ZERO) // 营业状态 0-正常; 1-停运
.sitePileNumber(snList.size()) // 桩数量
.siteGunNumber(pileConnectorInfoVOS.size())
.phone("") // 用户手机号码
.phone(orderVO.getPhoneNumber()) // 用户手机号码
.siteCode(stationVO.getId())
.pileCode(orderVO.getPileSn())
.gunNo(orderVO.getConnectorCode())