外带不校验用餐人数
This commit is contained in:
@@ -632,7 +632,7 @@ public class CartService {
|
|||||||
|
|
||||||
// 设置餐位费
|
// 设置餐位费
|
||||||
TbShopInfo shopInfo = mpShopInfoMapper.selectById(shopId);
|
TbShopInfo shopInfo = mpShopInfoMapper.selectById(shopId);
|
||||||
if (shopInfo.getIsTableFee() != null && shopInfo.getIsTableFee() == 0) {
|
if (!shopEatTypeInfoDTO.isTakeout() && shopInfo.getIsTableFee() != null && shopInfo.getIsTableFee() == 0) {
|
||||||
seatNum = jsonObject.getInteger("dinersNum");
|
seatNum = jsonObject.getInteger("dinersNum");
|
||||||
if (seatNum == null) {
|
if (seatNum == null) {
|
||||||
MsgException.throwException("dinersNum不能为空");
|
MsgException.throwException("dinersNum不能为空");
|
||||||
|
|||||||
Reference in New Issue
Block a user