不统计顺延的桌号

This commit is contained in:
SongZhang 2024-09-26 09:50:23 +08:00
parent dde33361eb
commit 4b60df1987
1 changed files with 1 additions and 2 deletions

View File

@ -435,9 +435,8 @@ public class TbCallServiceImpl implements TbCallService {
LambdaQueryChainWrapper<TbCallQueue> q = callQueueService.lambdaQuery()
.eq(TbCallQueue::getCallTableId, item.getId())
.eq(TbCallQueue::getShopId, shopId)
.notIn(TbCallQueue::getIsPostpone, 1, 2)
.eq(TbCallQueue::getCreateDay, DateUtil.today())
.in(TbCallQueue::getState, 0, 1, 3);
.in(TbCallQueue::getState, 0, 1);
Long count = q.count();
totalCount += count;