This commit is contained in:
YAS\29473
2024-12-02 18:18:34 +08:00
parent bd7ed0282a
commit 053531e7ff
3 changed files with 4 additions and 2 deletions

View File

@@ -1111,6 +1111,7 @@ public class PileBasicInfoServiceImpl implements PileBasicInfoService {
String pileSn = pileBasicInfo.getSn();
equipmentInfo.setEquipmentID(pileSn);
equipmentInfo.setEquipmentClassification(1);
equipmentInfo.setManufacturerID(Constants.OPERATORID_LIANLIAN);
equipmentInfo.setManufacturerName(Constants.MANUFACTURER_NAME);
equipmentInfo.setConstructionTime(DateUtils.parseDateToStr(DateUtils.YYYY_MM_DD, pileBasicInfo.getCreateTime()));
@@ -1208,6 +1209,7 @@ public class PileBasicInfoServiceImpl implements PileBasicInfoService {
connectorInfo.setParkNo(pileConnectorInfo.getParkNo());
}
connectorInfo.setVoltageUpperLimits(Integer.valueOf(modelInfo.getRatedVoltage()));
connectorInfo.setEquipmentClassification(1);
connectorInfo.setVoltageLowerLimits(Integer.valueOf(modelInfo.getRatedVoltage()));
connectorInfo.setCurrent(Integer.valueOf(modelInfo.getRatedCurrent()));
connectorInfo.setConnectorName(pileConnectorInfo.getPileConnectorCode());

View File

@@ -29,7 +29,7 @@ public class ConnectorInfo {
* 2换电站内的电池箱 充电设备接口
*/
@JSONField(name = "EquipmentClassification")
private String equipmentClassification;
private Integer equipmentClassification;
/**
* 充电设备接口名称 N

View File

@@ -294,7 +294,6 @@ public class GuiZhouPlatformServiceImpl implements ThirdPartyPlatformService {
.stationID(stationId)
.operatorID(operatorId)
.stationName(pileStationInfo.getStationName())
.equipmentClassification(Constants.ONE)
.periodFee(1) // 峰谷分时 0-否1-是
.parkType("255") // 255-参考场地实际收费标准
.roundTheClock(Constants.ONE)
@@ -373,6 +372,7 @@ public class GuiZhouPlatformServiceImpl implements ThirdPartyPlatformService {
GeoCodeInfo geoCode = TermRelationTreeCoordinate.completeGeoCode(pileStationInfo.getAddress());
if (geoCode != null) {
String areaCodeCountryside = geoCode.getCounty_code();
areaCodeCountryside = "123456789101";
info.setAreaCodeCountryside(areaCodeCountryside);
}