更新刷卡充电
This commit is contained in:
parent
dcc3e09be0
commit
40c5654555
@ -109,6 +109,13 @@ public class PileStartChargingDataLogic implements ServiceLogic {
|
|||||||
String orderkey = "order:".concat(orderNo);
|
String orderkey = "order:".concat(orderNo);
|
||||||
REDIS.setCacheMap(orderkey, cacheOrder);
|
REDIS.setCacheMap(orderkey, cacheOrder);
|
||||||
REDIS.setCacheMapValue("gun:".concat(connectorId), "ac.on", false);
|
REDIS.setCacheMapValue("gun:".concat(connectorId), "ac.on", false);
|
||||||
|
REDIS.setCacheMapValue("gun:".concat(connectorId), "orderkey", orderNo);
|
||||||
|
|
||||||
|
String pushOrderKey = orderkey.replace("order:", "pushOrder:");
|
||||||
|
Map map = new HashMap<>();
|
||||||
|
map.put("startChargeSeqStat", Integer.valueOf(2));
|
||||||
|
REDIS.setCacheMap(pushOrderKey, map);
|
||||||
|
|
||||||
resultStr = "00";
|
resultStr = "00";
|
||||||
} else {
|
} else {
|
||||||
String internalError = r.getMsg();
|
String internalError = r.getMsg();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user