Commit cc2e6a99 authored by 赵啸非's avatar 赵啸非

添加首页统计模块

parent 9e135206
......@@ -22,6 +22,8 @@ public interface PhQueueStatDao extends ICRUDDao<PhQueueStatEntity,Long>{
String SQLID_GET_STATLIST = "getStatList";
List<PhQueueStatEntity> getStatList(PhQueueStatQuery query, PageInfo pageInfo);
}
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment