Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hp-smart
Overview
Overview
Details
Activity
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
platform
hp-smart
Commits
d68b7dfa
Commit
d68b7dfa
authored
Oct 19, 2024
by
liuyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2024-10-19 生产驾驶舱接口调整
parent
b0cd033b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
ServiceHPBI003.java
.../java/com/baosight/hpjx/hp/bi/service/ServiceHPBI003.java
+3
-6
No files found.
src/main/java/com/baosight/hpjx/hp/bi/service/ServiceHPBI003.java
View file @
d68b7dfa
...
...
@@ -266,14 +266,10 @@ public class ServiceHPBI003 extends ServiceBase {
List
<
Map
>
result
=
new
ArrayList
<>();
for
(
Object
key:
mapList
.
keySet
())
{
Map
<
Object
,
Object
>
map
=
new
HashMap
<>();
List
<
Map
>
list1
=
new
ArrayList
<>(
);
map
.
put
(
"product"
,
key
);
for
(
Map
map1:
mapList
.
get
(
key
))
{
Map
<
String
,
Object
>
map2
=
new
HashMap
<>();
map2
.
put
(
"series"
,
map1
.
get
(
"series"
));
map2
.
put
(
"wt"
,
map1
.
get
(
"wt"
));
list1
.
add
(
map2
);
map
.
put
(
map1
.
get
(
"series"
),
map1
.
get
(
"wt"
));
}
map
.
put
(
key
,
list1
);
result
.
add
(
map
);
}
inInfo
.
set
(
"result"
,
result
);
...
...
@@ -331,6 +327,7 @@ public class ServiceHPBI003 extends ServiceBase {
map
.
put
(
key
,
list1
);
result
.
add
(
map
);
}
inInfo
.
set
(
"date"
,
mapList
.
keySet
());
inInfo
.
set
(
"result"
,
result
);
return
inInfo
;
}
...
...
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