|
|
@@ -157,7 +157,7 @@ public class ChargeServiceImpl implements ChargeService {
|
|
|
public Map<String, String> getConnectorIdAndStationId(String connectorId) {
|
|
|
var stationId = "";
|
|
|
if (connectorId.length() == 17) {
|
|
|
- var equipmentRelation = equipmentRelationService.getByShortId(connectorId);
|
|
|
+ var equipmentRelation = equipmentRelationService.getByShortId(connectorId.substring(0,16));
|
|
|
stationId = equipmentRelation.getStationId();
|
|
|
} else if (connectorId.length() == 6) {
|
|
|
// 查询EN+设备SN
|