场站号不是桩号
This commit is contained in:
parent
b1458a18ec
commit
6a5e64beab
@ -292,8 +292,8 @@ public class QueryStationsInfoController {
|
||||
connectorInfo.setConnectorID(gunId);
|
||||
String connectorName = REDIS.getCacheMapValue("gun:".concat(gunId), "terminalName"); //todo set them in redis!
|
||||
connectorInfo.setConnectorName(connectorName == null ?
|
||||
Integer.parseInt(pileNo.substring(5, 10)) + "号桩 " + GUNNAMES[i] +
|
||||
"枪" : connectorName);
|
||||
Integer.parseInt(pileNo.substring(10, 14)) + "号桩 " + GUNNAMES[i] +
|
||||
"枪" : connectorName);
|
||||
Integer connectorType = (Integer) cachePile.get("connectorType");
|
||||
connectorInfo.setConnectorType(connectorType == null ? 4 : connectorType);
|
||||
Integer voltageUpperLimits = (Integer) cachePile.get("voltageUpperLimits");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user