Commit 220288db by 周晓航

【华莱士】需求查看过去三个月的订单

parent b5372d17
...@@ -760,7 +760,7 @@ public class OrderServiceImpl implements Orderservice { ...@@ -760,7 +760,7 @@ public class OrderServiceImpl implements Orderservice {
return ResponseUtil.error(ResponseResult.ORDER_QUERYORDER_ERROR.getCode(), "只能查询3个月内的订单信息"); return ResponseUtil.error(ResponseResult.ORDER_QUERYORDER_ERROR.getCode(), "只能查询3个月内的订单信息");
} }
} else { } 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个月内的订单信息"); 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