This commit is contained in:
YAS\29473
2025-07-07 19:07:02 +08:00
parent e40cdbe8a7
commit 04871301f3
2 changed files with 3 additions and 5 deletions

View File

@@ -386,7 +386,6 @@ public class SiChuanPlatformServiceImpl implements ThirdPartyPlatformService {
*/
@Override
public String notificationStationInfo(String stationId) {
List<SupStationInfoDTO> stationInfos = new ArrayList<>();
// 通过id查询站点相关信息
PileStationInfo pileStationInfo = pileStationInfoService.selectPileStationInfoById(Long.parseLong(stationId));
// 查询相关配置信息
@@ -497,13 +496,12 @@ public class SiChuanPlatformServiceImpl implements ThirdPartyPlatformService {
if (CollectionUtils.isNotEmpty(pileList)) {
info.setEquipmentInfosDTO(pileList); // 充电设备信息列表
}
stationInfos.add(info);
// 调用中电联平台接口
String url = urlAddress + "supervise_notification_station_info";
JSONObject data = new JSONObject();
data.put("SupStationInfos", stationInfos);
data.put("SupStationInfos", info);
String jsonString = JSON.toJSONString(data);
System.out.println("jsonString : " + jsonString);

View File

@@ -858,9 +858,9 @@ public class WeiWangKuaiDianPlatformServiceImpl implements ThirdPartyPlatformSer
QueryChargingStatusVO vo = QueryChargingStatusVO.builder()
.startChargeSeq(orderInfo.getOrderCode()) // 订单号
.startChargeSeqStat(Integer.parseInt(orderInfo.getOrderStatus())) // 订单状态
.startChargeSeqStat(Integer.parseInt(orderStatus)) // 订单状态
.connectorID(orderInfo.getPileConnectorCode()) // 枪口编码
.connectorStatus(info.getStatus()) // 枪口状态
.connectorStatus(connectorStatus) // 枪口状态
.currentA(current) // 电流
.voltageA(voltage) // 电压
.soc(new BigDecimal(soc))