Solving a little bug.
This commit is contained in:
parent
a0da7c4924
commit
93e2f109bb
@ -39,6 +39,7 @@ public class NotificationCancelOrderTask extends CoreDispatcher {
|
||||
Collection<String> ordersNotFilter = REDIS.keys("order:*");
|
||||
List<String> ordersNeedToNotify = new ArrayList<>();
|
||||
for (String order : ordersNotFilter) {
|
||||
if (order.length() != 38) continue;
|
||||
String startStatus = REDIS.getCacheMapValue(order, "startStatus");
|
||||
if ("失败".equals(startStatus)) {
|
||||
ordersNeedToNotify.add(order);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user