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
93211e08
Commit
93211e08
authored
Jul 24, 2024
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改评价统计更新与组合查询
parent
5bcdefb0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
bill-manager/src/main/java/com/mortals/xhx/module/ph/web/PhQueueStatController.java
.../com/mortals/xhx/module/ph/web/PhQueueStatController.java
+7
-5
No files found.
bill-manager/src/main/java/com/mortals/xhx/module/ph/web/PhQueueStatController.java
View file @
93211e08
...
...
@@ -80,11 +80,13 @@ public class PhQueueStatController extends BaseCRUDJsonBodyMappingController<PhQ
Map
<
String
,
String
>
windowFromnumMap
=
cacheService
.
hgetAll
(
RedisKey
.
KEY_SITE_QUEUE_WINDOW_CHCHE
+
siteId
);
Map
<
String
,
String
>
bussinessMap
=
cacheService
.
hgetAll
(
RedisKey
.
KEY_SITE_QUEUE_BUSNIESS_CHCHE
+
siteId
);
Map
<
String
,
Integer
>
m1
=
sectionNameMap
.
entrySet
().
stream
()
.
sorted
((
e1
,
e2
)
->
Integer
.
compare
(
Integer
.
parseInt
(
e1
.
getValue
()),
Integer
.
parseInt
(
e2
.
getValue
())))
.
collect
(
Collectors
.
toMap
(
Map
.
Entry
::
getKey
,
y
->
Integer
.
parseInt
(
y
.
getValue
()),(
e1
,
e2
)
->
e1
,
LinkedHashMap:
:
new
));
List
<
Map
<
String
,
Integer
>>
m1
=
sectionNameMap
.
entrySet
().
stream
()
.
sorted
((
e1
,
e2
)
->
Integer
.
compare
(
Integer
.
parseInt
(
e2
.
getValue
()),
Integer
.
parseInt
(
e1
.
getValue
())))
.
map
(
item
->{
Map
<
String
,
Integer
>
map
=
new
HashMap
<>();
map
.
put
(
item
.
getKey
(),
Integer
.
parseInt
(
item
.
getValue
()));
return
map
;
}).
collect
(
Collectors
.
toList
());
this
.
addDict
(
model
,
"sectionNameList"
,
m1
);
this
.
addDict
(
model
,
"hallNameList"
,
hallNameMap
);
...
...
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