bugfix 高德、苏州市平台

This commit is contained in:
Lemon
2024-09-25 10:37:11 +08:00
parent e04f830d70
commit 187a45cf5e
2 changed files with 8 additions and 4 deletions

View File

@@ -556,6 +556,9 @@ public class AMapServiceImpl implements AMapService {
PileInfoVO pileInfoVO = value.get(0);
info.setEquipmentID(pileSn);
info.setManufacturerName(Constants.JSOWELL);
if (pileInfoVO.getSpeedType() == null) {
continue;
}
info.setEquipmentType(Integer.valueOf(pileInfoVO.getSpeedType()));
info.setPower(new BigDecimal(pileInfoVO.getRatedPower()).setScale(1, BigDecimal.ROUND_HALF_UP));
connectorInfos = Lists.newArrayList();