mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-22 03:55:17 +08:00
bugfix 高德、苏州市平台
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user