mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 19:15:35 +08:00
bugfix 修复电池充电报告发送信息缺少参数
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user