Commit 9ae6a065 authored by Junling Bu's avatar Junling Bu
Browse files

fix[litemall-admin-api]: 系统自动确认收货的检查起始时间从shipEndTime调整至shipStartTime。

parent 7e217d85
......@@ -231,7 +231,7 @@ public class AdminOrderController {
* 早点清理未付款情况,这里八天再确认是可以的。
*
* TODO
* 目前自动确认是基于管理后台管理员所设置的商品快递到达时间,见orderService.queryUnconfirm。
* 目前自动确认是基于管理后台管理员所设置的商品快递时间,见orderService.queryUnconfirm。
* 那么在实际业务上有可能存在商品寄出以后商品因为一些原因快递最终没有到达,
* 也就是商品快递失败而shipEndTime一直是空的情况,因此这里业务可能需要扩展,以防止订单一直
* 处于发货状态。
......
......@@ -153,7 +153,7 @@ public class LitemallOrderService {
public List<LitemallOrder> queryUnconfirm() {
LitemallOrderExample example = new LitemallOrderExample();
example.or().andOrderStatusEqualTo(OrderUtil.STATUS_SHIP).andShipEndTimeIsNotNull().andDeletedEqualTo(false);
example.or().andOrderStatusEqualTo(OrderUtil.STATUS_SHIP).andShipStartTimeIsNotNull().andDeletedEqualTo(false);
return orderMapper.selectByExample(example);
}
......
Supports Markdown
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