no message
This commit is contained in:
parent
41a79155e8
commit
365bb601dc
|
|
@ -399,7 +399,7 @@ public class OrderServiceImpl implements OrderService {
|
|||
} else if (timeoutOrderStatus.contains(order.getOrderStatus())) {
|
||||
// 其它状态用update_time判断30min超时
|
||||
Date overTime = getOverTime(order.getUpdateTime(), 30 * 60 * 1000);
|
||||
if (overTime.before(now)) {
|
||||
if (overTime.before(now)&&order.getWorkerId()==null) {
|
||||
log.info("订单[{}]超时30分钟", order.getId());
|
||||
orderDetailService.updateTimeout(order.getId(), 1, 0);
|
||||
// 判断是否约单
|
||||
|
|
|
|||
Loading…
Reference in New Issue