Commit 02ef6b7c by wuwenlong

room status border bugfix ;

parent e7b1731c
...@@ -94,7 +94,7 @@ public class RoomStatusServiceImpl implements RoomStatusService { ...@@ -94,7 +94,7 @@ public class RoomStatusServiceImpl implements RoomStatusService {
} }
} }
//当前时段大于营业结束时间 //当前时段大于营业结束时间
if (timeHourDate.compareTo(DateUtils.parseDate(day + " " + store.getOpenEndTime())) == 1) { if (timeHourDate.compareTo(DateUtils.parseDate(day + " " + store.getOpenEndTime())) == 1 && !StringUtils.equals(store.getOpenStartTime(),"00:00")) {
vo.setStatus(RoomStatusEnum.HOLD.getValue()); vo.setStatus(RoomStatusEnum.HOLD.getValue());
//占用结束时间为当前时段59分59秒 //占用结束时间为当前时段59分59秒
vo.setEndHoldTime(DateUtils.addSeconds(timeHourDate, 59 * 60 + 59)); vo.setEndHoldTime(DateUtils.addSeconds(timeHourDate, 59 * 60 + 59));
......
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