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

添加首页统计模块

parent b83cdb36
......@@ -207,7 +207,7 @@ public class PhQueueStatServiceImpl extends AbstractCRUDServiceImpl<PhQueueStatD
private void updateSiteBussinessPhCount(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.getBusiness()));
collect.entrySet().stream().forEach(item -> {
String bussiness = item.getKey();
if (ObjectUtils.isEmpty(bussiness)) return;
......@@ -251,7 +251,7 @@ public class PhQueueStatServiceImpl extends AbstractCRUDServiceImpl<PhQueueStatD
private void updateSiteWindowPhCount(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.getWindowFromnum()));
collect.entrySet().stream().forEach(item -> {
String window = item.getKey();
if (ObjectUtils.isEmpty(window)) return;
......
......@@ -14,11 +14,11 @@ client.global.set("authToken", JSON.parse(response.body).data.token);
%}
###排号汇总列表
POST {{baseUrl}}/ph/queue/list
POST {{baseUrl}}/ph/queue/interlist
Content-Type: application/json
{
"page":1,
"page":2,
"size":10
}
......
......@@ -21,11 +21,11 @@ Content-Type: application/json
"timeStart": "2023-04-01",
"timeEnd": "2024-07-04",
"siteId": 1,
"sectionNameNotList": [""],
"hallNameNotList": [""],
"groupList": ["year","month","day"],
"page": 1,
"size": 100
"size": 10
}
......
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