Commit 9cc459c2 by 徐康

修复问题

parent f9346295
...@@ -2369,9 +2369,6 @@ public class MCCafeOrderServiceImpl implements MCCafeOrderService { ...@@ -2369,9 +2369,6 @@ public class MCCafeOrderServiceImpl implements MCCafeOrderService {
if (endDate == null) { if (endDate == null) {
return ResponseUtil.error(ResponseResult.ORDER_QUERYORDER_ERROR.getCode(), "查询订单结束时间格式不正确"); return ResponseUtil.error(ResponseResult.ORDER_QUERYORDER_ERROR.getCode(), "查询订单结束时间格式不正确");
} }
if (startDate.getTime() < DateUtil.addMonths(new Date(), -3).getTime()) {
return ResponseUtil.error(ResponseResult.ORDER_QUERYORDER_ERROR.getCode(), "只能查询3个月内的订单信息");
}
String userId = userLoginInfoDto.getMemberId(); String userId = userLoginInfoDto.getMemberId();
queryOrderVo.setStartDate(startDateStr); queryOrderVo.setStartDate(startDateStr);
queryOrderVo.setEndDate(endDateStr); queryOrderVo.setEndDate(endDateStr);
......
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