get back repush failed orders
This commit is contained in:
parent
5e699f1ce6
commit
f358ba5f1d
@ -56,17 +56,17 @@ public class NotificationChargeOrderInfo4BonusTask extends CoreDispatcher {
|
|||||||
xhpcHistoryOrder.setXhpcStatisticsTimeIntervalList(statisticTimeIntervalList);
|
xhpcHistoryOrder.setXhpcStatisticsTimeIntervalList(statisticTimeIntervalList);
|
||||||
notify(xhpcHistoryOrder, authSecretTokenOut, false);
|
notify(xhpcHistoryOrder, authSecretTokenOut, false);
|
||||||
}
|
}
|
||||||
// final List<XhpcHistoryOrder> pushFailedOrders =
|
final List<XhpcHistoryOrder> pushFailedOrders =
|
||||||
// xhpcHistoryOrderRepository.findTop10JoinPushFailedOrders(authSecretTokenOut.getOperatorId3irdpty());
|
xhpcHistoryOrderRepository.findTop10JoinPushFailedOrders(authSecretTokenOut.getOperatorId3irdpty());
|
||||||
// for (XhpcHistoryOrder xhpcHistoryOrder : pushFailedOrders) {
|
for (XhpcHistoryOrder xhpcHistoryOrder : pushFailedOrders) {
|
||||||
// List<XhpcStatisticsTimeInterval> statisticTimeIntervalList =
|
List<XhpcStatisticsTimeInterval> statisticTimeIntervalList =
|
||||||
// statisticTimeIntervalRepository.findByHistoryOrderId(xhpcHistoryOrder.getHistoryOrderId());
|
statisticTimeIntervalRepository.findByHistoryOrderId(xhpcHistoryOrder.getHistoryOrderId());
|
||||||
// xhpcHistoryOrder.setXhpcStatisticsTimeIntervalList(statisticTimeIntervalList);
|
xhpcHistoryOrder.setXhpcStatisticsTimeIntervalList(statisticTimeIntervalList);
|
||||||
// final boolean notify = notify(xhpcHistoryOrder, authSecretTokenOut, true);
|
final boolean notify = notify(xhpcHistoryOrder, authSecretTokenOut, true);
|
||||||
// if (notify) {
|
if (notify) {
|
||||||
// etPushFailedOrderRepository.deleteById(xhpcHistoryOrder.getHistoryOrderId());
|
etPushFailedOrderRepository.deleteById(xhpcHistoryOrder.getHistoryOrderId());
|
||||||
// }
|
}
|
||||||
// }
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user