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