diff --git a/src/main/java/com/chaozhanggui/system/cashierservice/service/ProductService.java b/src/main/java/com/chaozhanggui/system/cashierservice/service/ProductService.java index 95bcc4b..05c4eb7 100644 --- a/src/main/java/com/chaozhanggui/system/cashierservice/service/ProductService.java +++ b/src/main/java/com/chaozhanggui/system/cashierservice/service/ProductService.java @@ -150,7 +150,7 @@ public class ProductService { if (tbShopTable != null) { tbShopTable.setOrderId(order == null ? null : order.getId()); TbCashierCart seatCartInfo = getSeatCartInfo(tbShopTable.getShopId(), tbShopTable.getQrcode(), Integer.valueOf(userId), shopEatTypeInfoDTO); - tbShopTable.setChoseCount(seatCartInfo != null && (seatCartInfo.getNumber() != null)); + tbShopTable.setChoseCount((shopInfo.getIsTableFee() != null && shopInfo.getIsTableFee().equals(1)) || (seatCartInfo != null && (seatCartInfo.getNumber() != null))); } concurrentMap.put("shopTableInfo", tbShopTable == null ? "" : tbShopTable);