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

Commit 95ae23f0 authored by wangyifan's avatar wangyifan

为空订单bug修复

parent 5ec42e35
......@@ -72,6 +72,10 @@ public class GoblinOrderAppServiceImpl implements IGoblinOrderAppService {
for (int i = initCount; i >= finalCount; i--) {
String orderId = orderIds.get(i);
GoblinStoreOrderVo orderVo = redisUtils.getGoblinOrder(orderId);
if (orderVo == null) {
log.info("[orderList] goblin order is null, orderId: {}", orderId);
continue;
}
GoblinAppOrderListVo vo = GoblinAppOrderListVo.getNew();
BeanUtils.copyProperties(orderVo, vo);
vo.setRestTime(getRestTime(orderVo));
......
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