log orderkey not exist error
This commit is contained in:
parent
b183436bea
commit
8b7c6d9e7d
@ -57,7 +57,10 @@ public class NotificationEquipChargeStatusTask extends CoreDispatcher {
|
||||
if (status != null) {
|
||||
if (isInteger(status)) {
|
||||
String orderkey = (String) cacheGun.get("orderkey");
|
||||
if (orderkey == null) continue;
|
||||
if (orderkey == null) {
|
||||
logger.error("[{}] is charging but no okey in cache..", gunkey);
|
||||
continue;
|
||||
}
|
||||
EquipChargeStatus equipChargeStatus = new EquipChargeStatus();
|
||||
final String internetSerialNumber = REDIS.getCacheMapValue(orderkey.replace("order:", "pushOrder:"),
|
||||
"internetSerialNumber");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user