From 60e4a223cff82f28f12360419753f88399dffea3 Mon Sep 17 00:00:00 2001 From: SongZhang <2064194730@qq.com> Date: Thu, 24 Oct 2024 10:37:14 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=92=E9=98=9F=E7=AD=89=E5=BE=85=E6=95=B0?= =?UTF-8?q?=E9=87=8F=E7=BB=9F=E8=AE=A1=E6=9C=89=E8=AF=AF=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../system/cashierservice/service/impl/TbCallServiceImpl.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/com/chaozhanggui/system/cashierservice/service/impl/TbCallServiceImpl.java b/src/main/java/com/chaozhanggui/system/cashierservice/service/impl/TbCallServiceImpl.java index a08f5e5..1010ea6 100644 --- a/src/main/java/com/chaozhanggui/system/cashierservice/service/impl/TbCallServiceImpl.java +++ b/src/main/java/com/chaozhanggui/system/cashierservice/service/impl/TbCallServiceImpl.java @@ -136,6 +136,7 @@ public class TbCallServiceImpl implements TbCallService { Integer count = callQueueService.lambdaQuery() .eq(TbCallQueue::getCallTableId, item.getId()) .eq(TbCallQueue::getShopId, shopId) + .eq(TbCallQueue::getCreateDay, DateUtil.date().toString("yyyy-MM-dd")) .in(TbCallQueue::getState, 0, 1).count(); map.put("waitingCount", count); map.put("waitTime", count * item.getWaitTime());