mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 19:15:35 +08:00
update
This commit is contained in:
@@ -345,7 +345,7 @@ public class JiLinPlatformServiceImpl implements ThirdPartyPlatformService {
|
||||
*/
|
||||
@Override
|
||||
public String notificationStationInfo(String stationId) {
|
||||
List<SupStationInfoDTO1> stationInfos = new ArrayList<>();
|
||||
// List<SupStationInfoDTO1> stationInfos = new ArrayList<>();
|
||||
// 通过id查询站点相关信息
|
||||
PileStationInfo pileStationInfo = pileStationInfoService.selectPileStationInfoById(Long.parseLong(stationId));
|
||||
// 查询相关配置信息
|
||||
@@ -457,7 +457,7 @@ public class JiLinPlatformServiceImpl implements ThirdPartyPlatformService {
|
||||
if (CollectionUtils.isNotEmpty(pileList)) {
|
||||
info.setEquipmentInfosDTO(pileList); // 充电设备信息列表
|
||||
}
|
||||
stationInfos.add(info);
|
||||
// stationInfos.add(info);
|
||||
|
||||
// 调用中电联平台接口
|
||||
String url = urlAddress + "notification_station_info";
|
||||
@@ -465,7 +465,7 @@ public class JiLinPlatformServiceImpl implements ThirdPartyPlatformService {
|
||||
/* JSONObject data = new JSONObject();
|
||||
data.put("StationInfo", stationInfos);*/
|
||||
|
||||
String jsonString = JSON.toJSONString(stationInfos);
|
||||
String jsonString = JSON.toJSONString(info);
|
||||
|
||||
|
||||
// 获取令牌
|
||||
@@ -1496,7 +1496,7 @@ public class JiLinPlatformServiceImpl implements ThirdPartyPlatformService {
|
||||
supStationPowerInfo.setDataTime(dateTimeNow);
|
||||
supStationPowerInfo.setStationRealTimePower(stationPower);
|
||||
|
||||
|
||||
log.info("站点{}查询实时功率信息", stationId);
|
||||
// 根据站点id查询桩信息
|
||||
List<PileBasicInfo> pileList = pileBasicInfoService.getPileListByStationId(stationId);
|
||||
if (CollectionUtils.isEmpty(pileList)) {
|
||||
|
||||
Reference in New Issue
Block a user