Commit f67d8a12 by wuwenlong

order create check room statuts bugfix;

parent 080a25ab
...@@ -324,6 +324,8 @@ public class SOrderServiceImpl extends ServiceImpl<SOrderMapper, SOrder> impleme ...@@ -324,6 +324,8 @@ public class SOrderServiceImpl extends ServiceImpl<SOrderMapper, SOrder> impleme
add(OrderStatusEnum.INUSE.getCode()); add(OrderStatusEnum.INUSE.getCode());
}}); }});
queryWrapper.eq(SOrder::getPayStatus, YesNoEnum.yes.getIndex()); queryWrapper.eq(SOrder::getPayStatus, YesNoEnum.yes.getIndex());
queryWrapper.eq(SOrder::getStoreId, request.getStoreId());
queryWrapper.eq(SOrder::getRoomId, request.getRoomId());
switch (OrderTypeEnum.getEnumByCode(request.getOrderType())) { switch (OrderTypeEnum.getEnumByCode(request.getOrderType())) {
case RESERVER://预定 case RESERVER://预定
//订单开始时间在 【预定开始时间 和 预定结束时间+30分保洁】区间内 //订单开始时间在 【预定开始时间 和 预定结束时间+30分保洁】区间内
......
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