diff --git a/bill-manager/src/main/java/com/mortals/xhx/module/ph/dao/PhQueueStatDao.java b/bill-manager/src/main/java/com/mortals/xhx/module/ph/dao/PhQueueStatDao.java index 96fd975f4b65e16352a5e9f572bcde837b31429c..046ae5bb939aeb9322a881b602165ee594d9c205 100644 --- a/bill-manager/src/main/java/com/mortals/xhx/module/ph/dao/PhQueueStatDao.java +++ b/bill-manager/src/main/java/com/mortals/xhx/module/ph/dao/PhQueueStatDao.java @@ -22,6 +22,8 @@ public interface PhQueueStatDao extends ICRUDDao<PhQueueStatEntity,Long>{ String SQLID_GET_STATLIST = "getStatList"; + + List<PhQueueStatEntity> getStatList(PhQueueStatQuery query, PageInfo pageInfo); } diff --git a/bill-manager/src/main/java/com/mortals/xhx/module/ph/service/impl/PhQueueStatServiceImpl.java b/bill-manager/src/main/java/com/mortals/xhx/module/ph/service/impl/PhQueueStatServiceImpl.java index 474bd9df5faacf43993a976aeea8c0053d6e3cab..02fbf3c02de66127126619919ab08266dc3765e1 100644 --- a/bill-manager/src/main/java/com/mortals/xhx/module/ph/service/impl/PhQueueStatServiceImpl.java +++ b/bill-manager/src/main/java/com/mortals/xhx/module/ph/service/impl/PhQueueStatServiceImpl.java @@ -162,7 +162,7 @@ public class PhQueueStatServiceImpl extends AbstractCRUDServiceImpl<PhQueueStatD private void updateSiteHallPhCount(String currentDate, PhQueueStatEntity entity, List<PhQueueEntity> phQueueEntities) { - Map<String, List<PhQueueEntity>> collect = phQueueEntities.stream().collect(Collectors.groupingBy(x -> x.getSectionName())); + Map<String, List<PhQueueEntity>> collect = phQueueEntities.stream().collect(Collectors.groupingBy(x -> x.getHallName())); collect.entrySet().stream().forEach(item -> { String hallName = item.getKey(); if (ObjectUtils.isEmpty(hallName)) return;