|
|
@@ -158,7 +158,7 @@ public class MsgCharngingRunner {
|
|
|
}
|
|
|
log.info("{}-{}-5分钟内无状态下发一次103", orderStatus.getPileCode(), orderStatus.getGunsCode());
|
|
|
deviceControlerService.sendImeiDetail(orderStatus.getDeviceImei());
|
|
|
- redisCache.setCacheObject(key, System.currentTimeMillis(),300, TimeUnit.SECONDS);
|
|
|
+ redisCache.setCacheObject(key, System.currentTimeMillis(),240, TimeUnit.SECONDS);
|
|
|
}
|
|
|
|
|
|
//停止一个订单
|
|
|
@@ -260,9 +260,10 @@ public class MsgCharngingRunner {
|
|
|
//????????????????????????????
|
|
|
if (money.compareTo(orderStatus.getStartMoney()) > 0) {
|
|
|
//余额没有了,停充
|
|
|
- log.info("{},{},{}实时状态校验时余额不足>>>>>>停充>>>>",orderStatus.getPileCode(),orderStatus.getGunsCode(),orderStatus.getTransOrder());
|
|
|
orderStatus.setReasonStopCharging(TransConstant.INSUFFICIENT_BALANCE_EXCEPTION_STOP);
|
|
|
stopOneOrder(orderStatus);
|
|
|
+ log.info("{},{},{}实时状态校验时余额不足>>>>>>停充>>>>",orderStatus.getPileCode(),orderStatus.getGunsCode(),orderStatus.getTransOrder());
|
|
|
+
|
|
|
return;
|
|
|
}
|
|
|
int mi = (int) (System.currentTimeMillis() - orderStatus.getCreateTime()) / 1000 / 60;
|