Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-webapp-plug
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
base_platform_enterprise
gic-webapp-plug
Commits
537adae5
Commit
537adae5
authored
Jul 28, 2021
by
guojuxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pmd
parent
01fb98f2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
ScreeningController.java
...java/com/gic/plug/web/controller/ScreeningController.java
+3
-3
No files found.
src/main/java/com/gic/plug/web/controller/ScreeningController.java
View file @
537adae5
...
@@ -128,9 +128,9 @@ public class ScreeningController {
...
@@ -128,9 +128,9 @@ public class ScreeningController {
public
RestResponse
getScreeningChainDetail
(
String
parentChainId
,
String
widgetFieldKey
)
{
public
RestResponse
getScreeningChainDetail
(
String
parentChainId
,
String
widgetFieldKey
)
{
EsScreeningChainDetailDTO
dto
=
this
.
esScreeningInitService
.
findChainDetail
(
parentChainId
,
widgetFieldKey
);
EsScreeningChainDetailDTO
dto
=
this
.
esScreeningInitService
.
findChainDetail
(
parentChainId
,
widgetFieldKey
);
if
(
dto
!=
null
&&
dto
.
getWidget
()
!=
null
&&
StringUtils
.
isNotBlank
(
dto
.
getWidget
().
getWidgetValues
()))
{
if
(
dto
!=
null
&&
dto
.
getWidget
()
!=
null
&&
StringUtils
.
isNotBlank
(
dto
.
getWidget
().
getWidgetValues
()))
{
List
<
WidgetValuesOldVO
>
oldV
OS
=
JSONObject
.
parseArray
(
dto
.
getWidget
().
getWidgetValues
(),
WidgetValuesOldVO
.
class
);
List
<
WidgetValuesOldVO
>
oldV
os
=
JSONObject
.
parseArray
(
dto
.
getWidget
().
getWidgetValues
(),
WidgetValuesOldVO
.
class
);
List
<
WidgetValuesNewVO
>
newV
OList
=
oldVOS
.
stream
().
map
(
data
->
new
WidgetValuesNewVO
(
data
.
getKey
(),
data
.
getValue
(),
data
.
getName
())).
collect
(
Collectors
.
toList
());
List
<
WidgetValuesNewVO
>
newV
oList
=
oldVos
.
stream
().
map
(
data
->
new
WidgetValuesNewVO
(
data
.
getKey
(),
data
.
getValue
(),
data
.
getName
())).
collect
(
Collectors
.
toList
());
dto
.
getWidget
().
setWidgetValues
(
JSON
.
toJSONString
(
newV
O
List
));
dto
.
getWidget
().
setWidgetValues
(
JSON
.
toJSONString
(
newV
o
List
));
}
}
return
RestResponse
.
success
(
dto
);
return
RestResponse
.
success
(
dto
);
}
}
...
...
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