更新刷卡充电

This commit is contained in:
panshuling321 2022-08-29 09:28:51 +08:00
parent dcc3e09be0
commit 40c5654555

View File

@ -109,6 +109,13 @@ public class PileStartChargingDataLogic implements ServiceLogic {
String orderkey = "order:".concat(orderNo);
REDIS.setCacheMap(orderkey, cacheOrder);
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";
} else {
String internalError = r.getMsg();