mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-06-14 04:09:50 +08:00
update
This commit is contained in:
@@ -1111,6 +1111,7 @@ public class PileBasicInfoServiceImpl implements PileBasicInfoService {
|
|||||||
String pileSn = pileBasicInfo.getSn();
|
String pileSn = pileBasicInfo.getSn();
|
||||||
|
|
||||||
equipmentInfo.setEquipmentID(pileSn);
|
equipmentInfo.setEquipmentID(pileSn);
|
||||||
|
equipmentInfo.setEquipmentClassification(1);
|
||||||
equipmentInfo.setManufacturerID(Constants.OPERATORID_LIANLIAN);
|
equipmentInfo.setManufacturerID(Constants.OPERATORID_LIANLIAN);
|
||||||
equipmentInfo.setManufacturerName(Constants.MANUFACTURER_NAME);
|
equipmentInfo.setManufacturerName(Constants.MANUFACTURER_NAME);
|
||||||
equipmentInfo.setConstructionTime(DateUtils.parseDateToStr(DateUtils.YYYY_MM_DD, pileBasicInfo.getCreateTime()));
|
equipmentInfo.setConstructionTime(DateUtils.parseDateToStr(DateUtils.YYYY_MM_DD, pileBasicInfo.getCreateTime()));
|
||||||
@@ -1208,6 +1209,7 @@ public class PileBasicInfoServiceImpl implements PileBasicInfoService {
|
|||||||
connectorInfo.setParkNo(pileConnectorInfo.getParkNo());
|
connectorInfo.setParkNo(pileConnectorInfo.getParkNo());
|
||||||
}
|
}
|
||||||
connectorInfo.setVoltageUpperLimits(Integer.valueOf(modelInfo.getRatedVoltage()));
|
connectorInfo.setVoltageUpperLimits(Integer.valueOf(modelInfo.getRatedVoltage()));
|
||||||
|
connectorInfo.setEquipmentClassification(1);
|
||||||
connectorInfo.setVoltageLowerLimits(Integer.valueOf(modelInfo.getRatedVoltage()));
|
connectorInfo.setVoltageLowerLimits(Integer.valueOf(modelInfo.getRatedVoltage()));
|
||||||
connectorInfo.setCurrent(Integer.valueOf(modelInfo.getRatedCurrent()));
|
connectorInfo.setCurrent(Integer.valueOf(modelInfo.getRatedCurrent()));
|
||||||
connectorInfo.setConnectorName(pileConnectorInfo.getPileConnectorCode());
|
connectorInfo.setConnectorName(pileConnectorInfo.getPileConnectorCode());
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ public class ConnectorInfo {
|
|||||||
* 2:换电站内的电池箱 充电设备接口
|
* 2:换电站内的电池箱 充电设备接口
|
||||||
*/
|
*/
|
||||||
@JSONField(name = "EquipmentClassification")
|
@JSONField(name = "EquipmentClassification")
|
||||||
private String equipmentClassification;
|
private Integer equipmentClassification;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 充电设备接口名称 N
|
* 充电设备接口名称 N
|
||||||
|
|||||||
@@ -294,7 +294,6 @@ public class GuiZhouPlatformServiceImpl implements ThirdPartyPlatformService {
|
|||||||
.stationID(stationId)
|
.stationID(stationId)
|
||||||
.operatorID(operatorId)
|
.operatorID(operatorId)
|
||||||
.stationName(pileStationInfo.getStationName())
|
.stationName(pileStationInfo.getStationName())
|
||||||
.equipmentClassification(Constants.ONE)
|
|
||||||
.periodFee(1) // 峰谷分时 0-否;1-是
|
.periodFee(1) // 峰谷分时 0-否;1-是
|
||||||
.parkType("255") // 255-参考场地实际收费标准
|
.parkType("255") // 255-参考场地实际收费标准
|
||||||
.roundTheClock(Constants.ONE)
|
.roundTheClock(Constants.ONE)
|
||||||
@@ -373,6 +372,7 @@ public class GuiZhouPlatformServiceImpl implements ThirdPartyPlatformService {
|
|||||||
GeoCodeInfo geoCode = TermRelationTreeCoordinate.completeGeoCode(pileStationInfo.getAddress());
|
GeoCodeInfo geoCode = TermRelationTreeCoordinate.completeGeoCode(pileStationInfo.getAddress());
|
||||||
if (geoCode != null) {
|
if (geoCode != null) {
|
||||||
String areaCodeCountryside = geoCode.getCounty_code();
|
String areaCodeCountryside = geoCode.getCounty_code();
|
||||||
|
areaCodeCountryside = "123456789101";
|
||||||
info.setAreaCodeCountryside(areaCodeCountryside);
|
info.setAreaCodeCountryside(areaCodeCountryside);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user