From 0fcafe88628c2434f1e2b633bf0bebaf39929b7f Mon Sep 17 00:00:00 2001 From: Lemon Date: Mon, 17 Feb 2025 09:09:19 +0800 Subject: [PATCH] =?UTF-8?q?bugfix=20=E8=B4=B5=E5=B7=9E=E7=9C=81=E5=B9=B3?= =?UTF-8?q?=E5=8F=B0=E8=AE=BE=E5=A4=87=E5=9B=BD=E6=A0=87=E5=80=BC=E6=8A=A5?= =?UTF-8?q?=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../platform/service/impl/GuiZhouPlatformServiceImpl.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/platform/service/impl/GuiZhouPlatformServiceImpl.java b/jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/platform/service/impl/GuiZhouPlatformServiceImpl.java index e2b9bc905..244275e4a 100644 --- a/jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/platform/service/impl/GuiZhouPlatformServiceImpl.java +++ b/jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/platform/service/impl/GuiZhouPlatformServiceImpl.java @@ -25,6 +25,7 @@ import com.jsowell.pile.dto.QueryOrderDTO; import com.jsowell.pile.dto.QueryStationInfoDTO; import com.jsowell.pile.service.*; import com.jsowell.pile.thirdparty.CommonParamsDTO; +import com.jsowell.pile.thirdparty.ConnectorInfo; import com.jsowell.pile.thirdparty.EquipmentInfo; import com.jsowell.pile.util.MerchantUtils; import com.jsowell.pile.vo.SupStationStatsVO; @@ -389,6 +390,11 @@ public class GuiZhouPlatformServiceImpl implements ThirdPartyPlatformService { .map(EquipmentInfo::getEquipmentPower) .reduce(BigDecimal.ZERO, BigDecimal::add); info.setRatedPower(stationRatedPower); + // NationalStandard + for (EquipmentInfo equipmentInfo : pileList) { + List connectorInfos = equipmentInfo.getConnectorInfos(); + connectorInfos.forEach( x -> x.setNationalStandard(2)); // 2-新国标(2015) + } // areaCodeCountryside GeoCodeInfo geoCode = TermRelationTreeCoordinate.completeGeoCode(pileStationInfo.getAddress()); if (geoCode == null) {