From edfb7d4f89d63fe90daf9edf8097cda1fbacb394 Mon Sep 17 00:00:00 2001 From: "YAS\\29473" <2947326429@qq.com> Date: Sat, 23 Nov 2024 15:30:55 +0800 Subject: [PATCH] update --- .../service/impl/NanRuiPlatfromServicelmp.java | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/platform/service/impl/NanRuiPlatfromServicelmp.java b/jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/platform/service/impl/NanRuiPlatfromServicelmp.java index 3b8fc8a1b..0f7fc5e0f 100644 --- a/jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/platform/service/impl/NanRuiPlatfromServicelmp.java +++ b/jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/platform/service/impl/NanRuiPlatfromServicelmp.java @@ -209,8 +209,7 @@ public class NanRuiPlatfromServicelmp implements ThirdPartyPlatformService { info.setAreaCode(subAreaCode); // 截取运营商组织机构代码(去除最后一位后的最后九位) String organizationCode = ""; - if (StringUtils.equals(ThirdPlatformTypeEnum.LIAN_LIAN_PLATFORM.getTypeCode(), thirdPlatformType)) { - // 联联平台先使用自己运营商的组织机构代码 + if (StringUtils.equals(ThirdPlatformTypeEnum.NAN_RUI_PLATFORM.getTypeCode(), thirdPlatformType)) { organizationCode = Constants.OPERATORID_LIANLIAN; info.setEquipmentOwnerID(organizationCode); } else { @@ -264,6 +263,7 @@ public class NanRuiPlatfromServicelmp implements ThirdPartyPlatformService { /** * 获取充电站信息 + * * @param dto * @return */ @@ -347,6 +347,7 @@ public class NanRuiPlatfromServicelmp implements ThirdPartyPlatformService { /** * 推送告警信息 + * * @param dto * @return */ @@ -442,6 +443,7 @@ public class NanRuiPlatfromServicelmp implements ThirdPartyPlatformService { * 查询设备接口状态 * 此接口用于批量查询设备实时状态 * 由充电运营商方实现此接口,省、市两级监管平台调用。 + * * @param dto * @return */ @@ -510,13 +512,14 @@ public class NanRuiPlatfromServicelmp implements ThirdPartyPlatformService { Map map = new LinkedHashMap<>(); map.put("StationStatusInfos", resultList); - Map resultMap = ThirdPartyPlatformUtils.generateResultMap(map,NanRuiSecretInfo); + Map resultMap = ThirdPartyPlatformUtils.generateResultMap(map, NanRuiSecretInfo); return resultMap; } /** * 充电电量信息推送 * 当运营商平台完成一次充电时,将充电电量信息推送至省、市两级监管平台 + * * @param orderCode * @return */ @@ -557,6 +560,7 @@ public class NanRuiPlatfromServicelmp implements ThirdPartyPlatformService { /** * 查询充电电量信息 * 此接口用于批量查询时间区段内交易记录 + * * @param dto * @return */ @@ -584,6 +588,7 @@ public class NanRuiPlatfromServicelmp implements ThirdPartyPlatformService { /** * 获取设备信息 + * * @param stationId * @return */ @@ -634,6 +639,7 @@ public class NanRuiPlatfromServicelmp implements ThirdPartyPlatformService { /** * 获取枪口信息 + * * @param pileSn * @return */ @@ -701,8 +707,10 @@ public class NanRuiPlatfromServicelmp implements ThirdPartyPlatformService { jiangSuOrderInfo.setMeterValueEnd(BigDecimal.ZERO); return jiangSuOrderInfo; } + /** * 格式化南瑞平台订单对象 + * * @param nrOrderInfoVO * @return */