排队等待数量统计有误修复
This commit is contained in:
@@ -136,6 +136,7 @@ public class TbCallServiceImpl implements TbCallService {
|
|||||||
Integer count = callQueueService.lambdaQuery()
|
Integer count = callQueueService.lambdaQuery()
|
||||||
.eq(TbCallQueue::getCallTableId, item.getId())
|
.eq(TbCallQueue::getCallTableId, item.getId())
|
||||||
.eq(TbCallQueue::getShopId, shopId)
|
.eq(TbCallQueue::getShopId, shopId)
|
||||||
|
.eq(TbCallQueue::getCreateDay, DateUtil.date().toString("yyyy-MM-dd"))
|
||||||
.in(TbCallQueue::getState, 0, 1).count();
|
.in(TbCallQueue::getState, 0, 1).count();
|
||||||
map.put("waitingCount", count);
|
map.put("waitingCount", count);
|
||||||
map.put("waitTime", count * item.getWaitTime());
|
map.put("waitTime", count * item.getWaitTime());
|
||||||
|
|||||||
Reference in New Issue
Block a user