Commit 733a972f authored by jiaorz's avatar jiaorz

预订时间处理bug

parent 5e70a523
...@@ -55,9 +55,9 @@ public class VehicleBookHourInfoBiz extends BaseBiz<VehicleBookHourInfoMapper, V ...@@ -55,9 +55,9 @@ public class VehicleBookHourInfoBiz extends BaseBiz<VehicleBookHourInfoMapper, V
throw new BaseException(ResultCode.ONLY_BOOK_FROM_TODAY); throw new BaseException(ResultCode.ONLY_BOOK_FROM_TODAY);
} }
} }
if (bookStartDate.compareTo(bookEndDate) >= 0) { // if (bookStartDate.compareTo(bookEndDate) >= 0) {
throw new BaseException(ResultCode.END_TIME_FROM_TODAY); // throw new BaseException(ResultCode.END_TIME_FROM_TODAY);
} // }
Map<String, Integer> predictableHours = Maps.newHashMap(); Map<String, Integer> predictableHours = Maps.newHashMap();
//预定开始小时 //预定开始小时
int hour = new DateTime(startDate).hourOfDay().get(); int hour = new DateTime(startDate).hourOfDay().get();
......
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