|
@@ -436,6 +436,11 @@ public class AppAppOrderServiceImpl extends ServiceImpl<AppOrderDao, TbOrder> im
|
|
|
if (ObjectUtil.isNull(payOrderDTO.getExpectDeliveryTime())) {
|
|
if (ObjectUtil.isNull(payOrderDTO.getExpectDeliveryTime())) {
|
|
|
throw new SqxException("预约订单期望送达时间不能为空");
|
|
throw new SqxException("预约订单期望送达时间不能为空");
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+ // 判断店铺是否开启预约接单
|
|
|
|
|
+ if (!Integer.valueOf(Constant.YES).equals(goodsShop.getReservationOpenFlag())) {
|
|
|
|
|
+ throw new SqxException("当前店铺未开启预约接单");
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
// 2 外卖订单
|
|
// 2 外卖订单
|