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
aae56c9c
Commit
aae56c9c
authored
Apr 03, 2024
by
wancheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
报屏优化
parent
7c2ee073
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
ServiceHPBI002.java
.../java/com/baosight/hpjx/hp/bi/service/ServiceHPBI002.java
+3
-2
HPSCTools.java
src/main/java/com/baosight/hpjx/hp/sc/tools/HPSCTools.java
+3
-0
No files found.
src/main/java/com/baosight/hpjx/hp/bi/service/ServiceHPBI002.java
View file @
aae56c9c
...
@@ -665,7 +665,7 @@ public class ServiceHPBI002 extends ServiceBase {
...
@@ -665,7 +665,7 @@ public class ServiceHPBI002 extends ServiceBase {
Map
result1
=
(
Map
)
result
.
get
(
"a02eed6a3e3f4dd39dbd0851e6a7572a"
);
Map
result1
=
(
Map
)
result
.
get
(
"a02eed6a3e3f4dd39dbd0851e6a7572a"
);
List
<
Map
>
list1
=
(
List
)
result1
.
get
(
"data"
);
List
<
Map
>
list1
=
(
List
)
result1
.
get
(
"data"
);
JSONArray
tempArr
=
new
JSONArray
();
JSONArray
tempArr
=
new
JSONArray
();
String
json
=
"项目名称,计划完成时间,计划产量,实际产量,进度"
;
String
json
=
"项目名称,计划完成时间,计划产量,实际产量,
生产进度,发货
进度"
;
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
();
...
@@ -676,7 +676,8 @@ public class ServiceHPBI002 extends ServiceBase {
...
@@ -676,7 +676,8 @@ public class ServiceHPBI002 extends ServiceBase {
datalist
.
add
(
obj
.
get
(
"计划完成时间"
));
datalist
.
add
(
obj
.
get
(
"计划完成时间"
));
datalist
.
add
(
obj
.
get
(
"计划产量"
));
datalist
.
add
(
obj
.
get
(
"计划产量"
));
datalist
.
add
(
obj
.
get
(
"实际产量"
));
datalist
.
add
(
obj
.
get
(
"实际产量"
));
datalist
.
add
(
obj
.
get
(
"进度"
));
datalist
.
add
(
obj
.
get
(
"生产进度"
));
datalist
.
add
(
obj
.
get
(
"发货进度"
));
tempArr
.
add
(
datalist
);
tempArr
.
add
(
datalist
);
});
});
JSONArray
ids
=
new
JSONArray
();
JSONArray
ids
=
new
JSONArray
();
...
...
src/main/java/com/baosight/hpjx/hp/sc/tools/HPSCTools.java
View file @
aae56c9c
...
@@ -943,6 +943,9 @@ public class HPSCTools {
...
@@ -943,6 +943,9 @@ public class HPSCTools {
Map
queryMap
=
new
HashMap
();
Map
queryMap
=
new
HashMap
();
queryMap
.
put
(
"id"
,
id
);
queryMap
.
put
(
"id"
,
id
);
List
<
HPSC006
>
results
=
DaoBase
.
getInstance
().
query
(
HPSC006
.
QUERY
,
queryMap
);
List
<
HPSC006
>
results
=
DaoBase
.
getInstance
().
query
(
HPSC006
.
QUERY
,
queryMap
);
if
(
results
!=
null
&&
results
.
size
()==
0
){
results
=
null
;
}
AssertUtils
.
isNull
(
results
,
String
.
format
(
"生产下料ID[%s]信息不存在"
,
id
));
AssertUtils
.
isNull
(
results
,
String
.
format
(
"生产下料ID[%s]信息不存在"
,
id
));
return
results
.
get
(
0
);
return
results
.
get
(
0
);
}
}
...
...
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