排队桌型列表修改
This commit is contained in:
parent
2ff0216f68
commit
14352a6d7b
|
|
@ -307,11 +307,14 @@ public class TbCallServiceImpl implements TbCallService {
|
|||
Page<TbCallTable> pageInfo = callTableService.page(new Page<>(page, size), query);
|
||||
ArrayList<Map<String, Object>> info = new ArrayList<>();
|
||||
pageInfo.getRecords().forEach(item -> {
|
||||
Long count = callQueueService.lambdaQuery()
|
||||
.eq(TbCallQueue::getCallTableId, item.getId())
|
||||
LambdaQueryChainWrapper<TbCallQueue> q = callQueueService.lambdaQuery()
|
||||
.eq(TbCallQueue::getCreateDay, DateUtil.today())
|
||||
.in(TbCallQueue::getState, 0, 1)
|
||||
.count();
|
||||
.in(TbCallQueue::getState, 0, 1);
|
||||
if (state == null) {
|
||||
q.eq(TbCallQueue::getCallTableId, item.getId());
|
||||
|
||||
}
|
||||
Long count = q.count();
|
||||
|
||||
Map<String, Object> map = BeanUtil.beanToMap(item, false, false);
|
||||
map.put("totalCount", count);
|
||||
|
|
|
|||
Loading…
Reference in New Issue