Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bill-platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
bill-platform
Commits
e93b9973
Commit
e93b9973
authored
Jul 04, 2024
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加首页统计模块
parent
b83cdb36
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
bill-manager/src/main/java/com/mortals/xhx/module/ph/service/impl/PhQueueStatServiceImpl.java
...ls/xhx/module/ph/service/impl/PhQueueStatServiceImpl.java
+2
-2
bill-manager/src/test/java/com/mortals/httpclient/ph/PhQueueController.http
...est/java/com/mortals/httpclient/ph/PhQueueController.http
+2
-2
bill-manager/src/test/java/com/mortals/httpclient/ph/PhQueueStatController.http
...java/com/mortals/httpclient/ph/PhQueueStatController.http
+2
-2
No files found.
bill-manager/src/main/java/com/mortals/xhx/module/ph/service/impl/PhQueueStatServiceImpl.java
View file @
e93b9973
...
...
@@ -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
.
get
SectionName
()));
Map
<
String
,
List
<
PhQueueEntity
>>
collect
=
phQueueEntities
.
stream
().
collect
(
Collectors
.
groupingBy
(
x
->
x
.
get
Business
()));
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
.
get
SectionName
()));
Map
<
String
,
List
<
PhQueueEntity
>>
collect
=
phQueueEntities
.
stream
().
collect
(
Collectors
.
groupingBy
(
x
->
x
.
get
WindowFromnum
()));
collect
.
entrySet
().
stream
().
forEach
(
item
->
{
String
window
=
item
.
getKey
();
if
(
ObjectUtils
.
isEmpty
(
window
))
return
;
...
...
bill-manager/src/test/java/com/mortals/httpclient/ph/PhQueueController.http
View file @
e93b9973
...
...
@@ -14,11 +14,11 @@ client.global.set("authToken", JSON.parse(response.body).data.token);
%}
###排号汇总列表
POST {{baseUrl}}/ph/queue/list
POST {{baseUrl}}/ph/queue/
inter
list
Content-Type: application/json
{
"page":
1
,
"page":
2
,
"size":10
}
...
...
bill-manager/src/test/java/com/mortals/httpclient/ph/PhQueueStatController.http
View file @
e93b9973
...
...
@@ -21,11 +21,11 @@ Content-Type: application/json
"timeStart": "2023-04-01",
"timeEnd": "2024-07-04",
"siteId": 1,
"
section
NameNotList": [""],
"
hall
NameNotList": [""],
"groupList": ["year","month","day"],
"page": 1,
"size": 10
0
"size": 10
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment