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
f9692cf7
Commit
f9692cf7
authored
Jul 25, 2024
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改评价统计更新与组合查询
parent
93211e08
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
9 deletions
+14
-9
bill-manager/src/main/java/com/mortals/xhx/module/ph/web/PhQueueStatController.java
.../com/mortals/xhx/module/ph/web/PhQueueStatController.java
+14
-9
No files found.
bill-manager/src/main/java/com/mortals/xhx/module/ph/web/PhQueueStatController.java
View file @
f9692cf7
...
...
@@ -80,18 +80,23 @@ 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
);
List
<
Map
<
String
,
Integer
>>
m1
=
sectionNameMap
.
entrySet
().
stream
()
List
<
Map
<
String
,
String
>>
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
());
.
map
(
item
->
new
HashMap
<
String
,
String
>(){{
put
(
item
.
getKey
(),
item
.
getValue
());}}).
collect
(
Collectors
.
toList
());
List
<
Map
<
String
,
String
>>
m2
=
hallNameMap
.
entrySet
().
stream
()
.
sorted
((
e1
,
e2
)
->
Integer
.
compare
(
Integer
.
parseInt
(
e2
.
getValue
()),
Integer
.
parseInt
(
e1
.
getValue
())))
.
map
(
item
->
new
HashMap
<
String
,
String
>(){{
put
(
item
.
getKey
(),
item
.
getValue
());}}).
collect
(
Collectors
.
toList
());
List
<
Map
<
String
,
String
>>
m3
=
windowFromnumMap
.
entrySet
().
stream
()
.
sorted
((
e1
,
e2
)
->
Integer
.
compare
(
Integer
.
parseInt
(
e2
.
getValue
()),
Integer
.
parseInt
(
e1
.
getValue
())))
.
map
(
item
->
new
HashMap
<
String
,
String
>(){{
put
(
item
.
getKey
(),
item
.
getValue
());}}).
collect
(
Collectors
.
toList
());
List
<
Map
<
String
,
String
>>
m4
=
bussinessMap
.
entrySet
().
stream
()
.
sorted
((
e1
,
e2
)
->
Integer
.
compare
(
Integer
.
parseInt
(
e2
.
getValue
()),
Integer
.
parseInt
(
e1
.
getValue
())))
.
map
(
item
->
new
HashMap
<
String
,
String
>(){{
put
(
item
.
getKey
(),
item
.
getValue
());}}).
collect
(
Collectors
.
toList
());
this
.
addDict
(
model
,
"sectionNameList"
,
m1
);
this
.
addDict
(
model
,
"hallNameList"
,
hallNameMap
);
this
.
addDict
(
model
,
"windowFromnumList"
,
windowFromnumMap
);
this
.
addDict
(
model
,
"businessList"
,
bussinessMap
);
this
.
addDict
(
model
,
"hallNameList"
,
m2
);
this
.
addDict
(
model
,
"windowFromnumList"
,
m3
);
this
.
addDict
(
model
,
"businessList"
,
m4
);
this
.
addDict
(
model
,
"groupList"
,
GroupListEnum
.
getEnumMap
());
}
...
...
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