|
@@ -456,6 +456,11 @@ public class AppAppOrderServiceImpl extends ServiceImpl<AppOrderDao, TbOrder> im
|
|
|
if (!Integer.valueOf(Constant.YES).equals(goodsShop.getReservationOpenFlag())) {
|
|
if (!Integer.valueOf(Constant.YES).equals(goodsShop.getReservationOpenFlag())) {
|
|
|
throw new SqxException("当前店铺未开启预约接单");
|
|
throw new SqxException("当前店铺未开启预约接单");
|
|
|
}
|
|
}
|
|
|
|
|
+ } else {
|
|
|
|
|
+ // 判断店铺营业时间
|
|
|
|
|
+ if (!isShopBusinessTime(goodsShop.getShopId())) {
|
|
|
|
|
+ throw new SqxException("店铺已打烊!");
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
// 2 外卖订单
|
|
// 2 外卖订单
|