Commit 7cb853ca by 周晓航

Merge branch '【【华莱士】需求查看过去三个月的订单】' into qa

parents 4cd1e8fc 220288db
......@@ -768,7 +768,7 @@ public class OrderServiceImpl implements Orderservice {
return ResponseUtil.error(ResponseResult.ORDER_QUERYORDER_ERROR.getCode(), "只能查询3个月内的订单信息");
}
} else {
if (startDate.getTime() < DateUtil.addMonths(new Date(), -3).getTime()) {
if (startDate.getTime() < DateUtil.addMonths(new Date(), -4).getTime()) {
return ResponseUtil.error(ResponseResult.ORDER_QUERYORDER_ERROR.getCode(), "只能查询3个月内的订单信息");
}
}
......
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