|
|
@@ -1786,7 +1786,7 @@ public class BusRoomBookingOrdersServiceImpl extends ServiceImpl<BusRoomBookingO
|
|
|
CesHourRoomRule hourRoomRule = hourRoomRuleService.getById(info.getFangAnId());
|
|
|
Integer timeMins = hourRoomRule.getAfterOpenRoom();// 分钟
|
|
|
Date targetTime = DateUtils.formatAddDateMin(order.getArrivalTime(),timeMins);
|
|
|
- if(targetTime.getTime() > new Date().getTime()) throw new JeecgBootException("方案时间超时");
|
|
|
+ if(targetTime.getTime() < new Date().getTime()) throw new JeecgBootException("方案时间超时");
|
|
|
order.setLivingType(2);
|
|
|
order.setHourRoomId(info.getFangAnId());
|
|
|
|