烦人的OperatorID
This commit is contained in:
parent
d8ab3576b7
commit
43b43d9b0a
@ -123,8 +123,9 @@ public class QueryStationsInfoController {
|
||||
//站点类型
|
||||
chargingStationDto.setType(xhpcChargingStation.getType());
|
||||
//运营商id
|
||||
chargingStationDto.setOperatorId(xhpcChargingStation.getOperatorIdEvcs() == null ? "MA6DFCTD5"
|
||||
: xhpcChargingStation.getOperatorIdEvcs().substring(9, 19));
|
||||
String operatorIdEvcs = xhpcChargingStation.getOperatorIdEvcs();
|
||||
chargingStationDto.setOperatorId(operatorIdEvcs == null ? "MA6DFCTD5"
|
||||
: operatorIdEvcs.length() == 9 ? operatorId : operatorIdEvcs.substring(9, 19));
|
||||
//详细地址
|
||||
chargingStationDto.setAddress(xhpcChargingStation.getAddress());
|
||||
//充电站省直辖区编码
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user