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
7ef3cf63
Commit
7ef3cf63
authored
Mar 20, 2024
by
wancheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
报屏优化
parent
bb4fb13f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
ServiceHPBI002.java
.../java/com/baosight/hpjx/hp/bi/service/ServiceHPBI002.java
+6
-5
No files found.
src/main/java/com/baosight/hpjx/hp/bi/service/ServiceHPBI002.java
View file @
7ef3cf63
...
@@ -524,15 +524,16 @@ public class ServiceHPBI002 extends ServiceBase {
...
@@ -524,15 +524,16 @@ public class ServiceHPBI002 extends ServiceBase {
List
tempContentList
=
Arrays
.
asList
(
json
.
split
(
","
));
List
tempContentList
=
Arrays
.
asList
(
json
.
split
(
","
));
tempArr
.
add
(
tempContentList
);
tempArr
.
add
(
tempContentList
);
JSONObject
item
=
new
JSONObject
();
JSONObject
item
=
new
JSONObject
();
list1
.
forEach
(
obj
->
{
String
DIVLIST
=
""
;
// 处理obj
// 处理obj
String
DIVLIST
=
"<div style=\"width: 400px; height: 50px;color:#FACC14;font-weight: bold;text-align: left;font-size: 20px;\">"
for
(
Map
obj
:
list1
)
{
+
obj
.
get
(
"GROUP_NAME"
)+
"</div><div style=\"width: 400px; height: 50px;color:#FFFFFF;text-align: left;font-size: 20px;\">"
DIVLIST
=
DIVLIST
+
"<div style=\"width: 500px; height: 50px;color:#FACC14;font-weight: bold;text-align: left;font-size: 20px;\">"
+
obj
.
get
(
"PART_NAME"
)+
"</div>"
;
+
obj
.
get
(
"GROUP_NAME"
)
+
"</div><div style=\"white-space: pre-wrap;width: 500px; height: 60px;color:#FFFFFF;text-align: left;font-size: 18px;\">"
+
obj
.
get
(
"PART_NAME"
)
+
"</div>"
;
}
List
datalist
=
new
ArrayList
();
List
datalist
=
new
ArrayList
();
datalist
.
add
(
DIVLIST
);
datalist
.
add
(
DIVLIST
);
tempArr
.
add
(
datalist
);
tempArr
.
add
(
datalist
);
});
JSONArray
ids
=
new
JSONArray
();
JSONArray
ids
=
new
JSONArray
();
ids
.
add
(
idsStr
);
ids
.
add
(
idsStr
);
item
.
put
(
"ids"
,
ids
);
item
.
put
(
"ids"
,
ids
);
...
...
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