记得上下班打卡 | git大法好,push需谨慎

Commit 279370f3 authored by 胡佳晨's avatar 胡佳晨

订单列表分页

parent 255f2819
......@@ -65,6 +65,10 @@ public class DMCheckGoblinOrderTimeImpl extends ServiceImpl<GoblinStoreOrderMapp
List<String> orderIds = goblinRedisUtils.getUnPayGoblinOrderList(i + "");
for (String orderId : orderIds) {
GoblinStoreOrderVo orderVo = goblinRedisUtils.getGoblinOrder(orderId);
log.debug("orderVo = " + orderVo);
if (orderVo == null || orderVo.getCreatedAt() == null) {
continue;
}
LocalDateTime expireTime = LocalDateTime.parse(orderVo.getCreatedAt(), DTF_YMD_HMS).plusMinutes(orderVo.getPayCountdownMinute() + 1);
if (now.isAfter(expireTime) && orderVo.getStatus() == GoblinStatusConst.Status.ORDER_STATUS_0.getValue()) {//过期
LinkedList<String> sqls = CollectionUtil.linkedListString();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment