update 中电联平台名称改为 宁波平台

This commit is contained in:
Lemon
2024-04-29 10:30:00 +08:00
parent 8fcb43243a
commit f3a78dff97
4 changed files with 8 additions and 8 deletions

View File

@@ -94,7 +94,7 @@ public class ZDLController extends BaseController {
// 转换成相应对象
QueryStationInfoDTO queryStationInfoDTO = JSONObject.parseObject(dataStr, QueryStationInfoDTO.class);
queryStationInfoDTO.setOperatorId(dto.getOperatorID());
queryStationInfoDTO.setThirdPlatformType(ThirdPlatformTypeEnum.ZHONG_DIAN_LIAN_PLATFORM.getTypeCode());
queryStationInfoDTO.setThirdPlatformType(ThirdPlatformTypeEnum.NING_BO_PLATFORM.getTypeCode());
Map<String, String> map = zdlService.queryStationsInfo(queryStationInfoDTO);
logger.info("中电联平台查询充电站信息 result:{}", JSON.toJSONString(map));
return CommonResult.success(0, "查询充电站信息成功!", map.get("Data"), map.get("Sig"));
@@ -241,7 +241,7 @@ public class ZDLController extends BaseController {
PushRealTimeInfoDTO pushRealTimeInfoDTO = new PushRealTimeInfoDTO();
pushRealTimeInfoDTO.setStatus(dto.getStatus());
pushRealTimeInfoDTO.setPileConnectorCode(dto.getPileConnectorCode());
pushRealTimeInfoDTO.setThirdPartyType(ThirdPlatformTypeEnum.ZHONG_DIAN_LIAN_PLATFORM.getTypeCode());
pushRealTimeInfoDTO.setThirdPartyType(ThirdPlatformTypeEnum.NING_BO_PLATFORM.getTypeCode());
String result = zdlService.notificationStationStatus(pushRealTimeInfoDTO);
response = new RestApiResponse<>(result);
}catch (BusinessException e) {