排号获取桌型列表fix

This commit is contained in:
2024-09-18 10:01:27 +08:00
parent 5a6d4ce854
commit d0cec6c5ed
3 changed files with 5 additions and 1 deletions

View File

@@ -310,6 +310,7 @@ public class TbCallServiceImpl implements TbCallService {
Long totalCount = 0L;
for (TbCallTable item : pageInfo.getRecords()) {
LambdaQueryChainWrapper<TbCallQueue> q = callQueueService.lambdaQuery()
.eq(TbCallQueue::getCallTableId, item.getId())
.eq(TbCallQueue::getCreateDay, DateUtil.today())
.in(TbCallQueue::getState, 0, 1);
Long count = q.count();