fix: 餐位费校验修改

This commit is contained in:
张松 2024-11-07 11:22:02 +08:00
parent a75164b688
commit 82d5ebe687
1 changed files with 1 additions and 1 deletions

View File

@ -207,7 +207,7 @@ public class TbShopTableServiceImpl implements TbShopTableService {
// 是否无台桌
boolean isNoneTable = !hasTable && !isTakeout;
boolean needSeatFee = shopInfo.getIsTableFee() == null || shopInfo.getIsTableFee() == 0;
boolean needSeatFee = !isTakeout && (shopInfo.getIsTableFee() == null || shopInfo.getIsTableFee() == 0);
boolean isIncrMasterId = isTakeout || isNoneTable;
return new ShopEatTypeInfoDTO(isTakeout, isMunchies, isDineInAfter, isDineInBefore, needSeatFee, isNoneTable, isIncrMasterId, shopInfo, isTakeout ? TableConstant.OrderInfo.UseType.TAKEOUT.getValue() :