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
cc2e6a99
Commit
cc2e6a99
authored
Jul 04, 2024
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加首页统计模块
parent
9e135206
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
bill-manager/src/main/java/com/mortals/xhx/module/ph/dao/PhQueueStatDao.java
...in/java/com/mortals/xhx/module/ph/dao/PhQueueStatDao.java
+2
-0
bill-manager/src/main/java/com/mortals/xhx/module/ph/service/impl/PhQueueStatServiceImpl.java
...ls/xhx/module/ph/service/impl/PhQueueStatServiceImpl.java
+1
-1
No files found.
bill-manager/src/main/java/com/mortals/xhx/module/ph/dao/PhQueueStatDao.java
View file @
cc2e6a99
...
@@ -22,6 +22,8 @@ public interface PhQueueStatDao extends ICRUDDao<PhQueueStatEntity,Long>{
...
@@ -22,6 +22,8 @@ public interface PhQueueStatDao extends ICRUDDao<PhQueueStatEntity,Long>{
String
SQLID_GET_STATLIST
=
"getStatList"
;
String
SQLID_GET_STATLIST
=
"getStatList"
;
List
<
PhQueueStatEntity
>
getStatList
(
PhQueueStatQuery
query
,
PageInfo
pageInfo
);
List
<
PhQueueStatEntity
>
getStatList
(
PhQueueStatQuery
query
,
PageInfo
pageInfo
);
}
}
bill-manager/src/main/java/com/mortals/xhx/module/ph/service/impl/PhQueueStatServiceImpl.java
View file @
cc2e6a99
...
@@ -162,7 +162,7 @@ public class PhQueueStatServiceImpl extends AbstractCRUDServiceImpl<PhQueueStatD
...
@@ -162,7 +162,7 @@ public class PhQueueStatServiceImpl extends AbstractCRUDServiceImpl<PhQueueStatD
private
void
updateSiteHallPhCount
(
String
currentDate
,
PhQueueStatEntity
entity
,
List
<
PhQueueEntity
>
phQueueEntities
)
{
private
void
updateSiteHallPhCount
(
String
currentDate
,
PhQueueStatEntity
entity
,
List
<
PhQueueEntity
>
phQueueEntities
)
{
Map
<
String
,
List
<
PhQueueEntity
>>
collect
=
phQueueEntities
.
stream
().
collect
(
Collectors
.
groupingBy
(
x
->
x
.
get
Section
Name
()));
Map
<
String
,
List
<
PhQueueEntity
>>
collect
=
phQueueEntities
.
stream
().
collect
(
Collectors
.
groupingBy
(
x
->
x
.
get
Hall
Name
()));
collect
.
entrySet
().
stream
().
forEach
(
item
->
{
collect
.
entrySet
().
stream
().
forEach
(
item
->
{
String
hallName
=
item
.
getKey
();
String
hallName
=
item
.
getKey
();
if
(
ObjectUtils
.
isEmpty
(
hallName
))
return
;
if
(
ObjectUtils
.
isEmpty
(
hallName
))
return
;
...
...
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