Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
car-database-api
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
中汽研标准应用数据库
car-database-api
Commits
208a961e
Commit
208a961e
authored
Aug 30, 2024
by
高滢
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
指定方案计划 排序
parent
d46b8c12
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
TestObjectDataController.java
...src/main/java/com/ruoyi/web/TestObjectDataController.java
+1
-1
No files found.
quality-review/src/main/java/com/ruoyi/web/TestObjectDataController.java
View file @
208a961e
...
...
@@ -31,7 +31,7 @@ public class TestObjectDataController {
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/getList"
)
public
R
<
List
>
SelectTestObjectDataList
(){
List
<
TestObjectData
>
objectList
=
testObjectDataService
.
selectTestObjectDataList
();
Map
<
String
,
List
<
TestObjectData
>>
groupedObject
=
objectList
.
stream
()
.
sorted
(
Comparator
.
comparingInt
(
TestObjectData:
:
getSort
)).
collect
(
Collectors
.
groupingBy
(
TestObjectData:
:
getDescribe
));
Map
<
String
,
List
<
TestObjectData
>>
groupedObject
=
objectList
.
stream
()
.
collect
(
Collectors
.
groupingBy
(
TestObjectData:
:
getDescribe
,
LinkedHashMap:
:
new
,
Collectors
.
toList
()
));
List
list
=
new
ArrayList
<>();
final
int
[]
sum
=
{
0
};
groupedObject
.
forEach
((
key
,
value
)->{
...
...
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