Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
S
sentinel
Project
Project
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
曲欣亮
sentinel
Commits
568ccfd1
Commit
568ccfd1
authored
Apr 19, 2019
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
parent
072543e4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
27 deletions
+33
-27
WebApiController.java
src/main/java/com/egolm/film/api/WebApiController.java
+33
-27
No files found.
src/main/java/com/egolm/film/api/WebApiController.java
View file @
568ccfd1
...
@@ -92,6 +92,7 @@ public class WebApiController {
...
@@ -92,6 +92,7 @@ public class WebApiController {
}
}
Map
<
String
,
Object
>
extMap
=
playactorMM
.
get
(
String
.
valueOf
(
id
));
Map
<
String
,
Object
>
extMap
=
playactorMM
.
get
(
String
.
valueOf
(
id
));
if
(
extMap
!=
null
)
{
{
{
List
<
Map
<
String
,
Object
>>
directorList
=
new
ArrayList
<
Map
<
String
,
Object
>>();
List
<
Map
<
String
,
Object
>>
directorList
=
new
ArrayList
<
Map
<
String
,
Object
>>();
String
director_cn
=
(
String
)
extMap
.
get
(
"director_cn"
);
String
director_cn
=
(
String
)
extMap
.
get
(
"director_cn"
);
...
@@ -107,7 +108,9 @@ public class WebApiController {
...
@@ -107,7 +108,9 @@ public class WebApiController {
}
}
}
}
map
.
put
(
"directorList"
,
directorList
);
map
.
put
(
"directorList"
,
directorList
);
}
{
}
{
List
<
String
>
producerList
=
new
ArrayList
<
String
>();
List
<
String
>
producerList
=
new
ArrayList
<
String
>();
String
producer_en
=
(
String
)
extMap
.
get
(
"producer_en"
);
String
producer_en
=
(
String
)
extMap
.
get
(
"producer_en"
);
if
(
StringUtil
.
isNotBlank
(
producer_en
))
{
if
(
StringUtil
.
isNotBlank
(
producer_en
))
{
...
@@ -115,7 +118,9 @@ public class WebApiController {
...
@@ -115,7 +118,9 @@ public class WebApiController {
producerList
.
addAll
(
Arrays
.
asList
(
producerArray
));
producerList
.
addAll
(
Arrays
.
asList
(
producerArray
));
}
}
map
.
put
(
"producerList"
,
producerList
);
map
.
put
(
"producerList"
,
producerList
);
}
{
}
{
List
<
String
>
productionList
=
new
ArrayList
<
String
>();
List
<
String
>
productionList
=
new
ArrayList
<
String
>();
String
production_en
=
(
String
)
extMap
.
get
(
"production_en"
);
String
production_en
=
(
String
)
extMap
.
get
(
"production_en"
);
if
(
StringUtil
.
isNotBlank
(
production_en
))
{
if
(
StringUtil
.
isNotBlank
(
production_en
))
{
...
@@ -124,6 +129,7 @@ public class WebApiController {
...
@@ -124,6 +129,7 @@ public class WebApiController {
}
}
map
.
put
(
"productionList"
,
productionList
);
map
.
put
(
"productionList"
,
productionList
);
}
}
}
list
.
add
(
map
);
list
.
add
(
map
);
}
}
return
Rjx
.
jsonOk
().
setData
(
list
);
return
Rjx
.
jsonOk
().
setData
(
list
);
...
...
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