Commit 9020a8b3 authored by hezhen's avatar hezhen

Merge branch 'dev-tiande' of http://113.105.137.151:22280/youjj/cloud-platform into dev-tiande

parents 742aa6ac 3ecfc91a
......@@ -177,6 +177,9 @@ public class RentVehicleController extends BaseController<VehicleBiz> implements
usableVeicleVO.setAllowRent(SYS_TRUE);
//如果"必须在这时间后预定" 存在 并且 比预定开始时间 要晚,那么不允许预定
if(null != usableVeicleVO.getToLiftMustAfterDate() ) {
if(DateUtil.date().isAfterOrEquals(usableVeicleVO.getToLiftMustAfterDate())) {
usableVeicleVO.setToLiftMustAfterDate(DateUtil.date());
}
//取结束End
usableVeicleVO.setToLiftMustAfterDate(DateUtil.endOfDay(usableVeicleVO.getToLiftMustAfterDate()));
......
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