fix: 修改会员信息校验餐位费修改
This commit is contained in:
@@ -1329,7 +1329,7 @@ public class TbShopTableServiceImpl implements TbShopTableService {
|
||||
cartInfoDTO.getCashierCarts().add(cashierCart);
|
||||
}
|
||||
|
||||
if (ignoreEmpty && (StrUtil.isNotBlank(shopEatTypeInfoDTO.getTableId())
|
||||
if (!ignoreEmpty && (StrUtil.isNotBlank(shopEatTypeInfoDTO.getTableId())
|
||||
&& (cartInfoDTO.getCashierCarts().isEmpty() ||
|
||||
(shopEatTypeInfoDTO.isNeedSeatFee() && !shopEatTypeInfoDTO.isTakeout() && seatCart != null && cartInfoDTO.getCashierCarts().size() < 2)
|
||||
|| (shopEatTypeInfoDTO.isNeedSeatFee() && !shopEatTypeInfoDTO.isTakeout() && seatCart == null)))) {
|
||||
|
||||
Reference in New Issue
Block a user