Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
member-api
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
曲欣亮
member-api
Commits
10535be2
Commit
10535be2
authored
Mar 11, 2019
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
parent
afd7bd35
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
28 deletions
+32
-28
ExportServiceImpl.java
...va/com/egolm/film/api/service/impl/ExportServiceImpl.java
+32
-28
No files found.
src/main/java/com/egolm/film/api/service/impl/ExportServiceImpl.java
View file @
10535be2
...
...
@@ -586,10 +586,11 @@ public class ExportServiceImpl implements ExportService {
Map
<
String
,
String
>
stringVars
=
new
HashMap
<
String
,
String
>();
stringVars
.
put
(
"1,1"
,
film
.
getCn_name
());
stringVars
.
put
(
"2,1"
,
film
.
getEn_name
());
stringVars
.
put
(
"3,1"
,
filmExt
.
getDirector_en
());
stringVars
.
put
(
"6,1"
,
film
.
getFilm_country
());
stringVars
.
put
(
"7,1"
,
film
.
getCompletion_date
());
stringVars
.
put
(
"8,1"
,
film
.
getFilm_total_time
());
if
(
filmExt
!=
null
)
{
stringVars
.
put
(
"3,1"
,
filmExt
.
getDirector_en
());
stringVars
.
put
(
"9,1"
,
ExportConstant
.
fmtopts
.
get
(
String
.
valueOf
(
filmExt
.
getFormat
())));
stringVars
.
put
(
"11,1"
,
filmExt
.
getScreenplay
());
stringVars
.
put
(
"13,1"
,
filmExt
.
getDirector_of_photography
());
...
...
@@ -612,6 +613,7 @@ public class ExportServiceImpl implements ExportService {
stringVars
.
put
(
"24,5"
,
filmExt
.
getDirector_biography_en
());
stringVars
.
put
(
"19,5"
,
filmExt
.
getDirector_cn
());
stringVars
.
put
(
"23,5"
,
filmExt
.
getDirector_en
());
}
for
(
String
key
:
stringVars
.
keySet
())
{
String
value
=
stringVars
.
get
(
key
);
value
=
value
==
null
?
""
:
value
.
trim
();
...
...
@@ -636,8 +638,10 @@ public class ExportServiceImpl implements ExportService {
}
Map
<
String
,
String
>
photoVars
=
new
HashMap
<
String
,
String
>();
if
(
filmExt
!=
null
)
{
photoVars
.
put
(
"1,4,10,4"
,
filmExt
.
getPhoto_mv
());
photoVars
.
put
(
"3,19,4,26"
,
filmExt
.
getPhoto_director
());
}
HSSFPatriarch
patriarch
=
sheet
.
createDrawingPatriarch
();
for
(
String
key
:
photoVars
.
keySet
())
{
if
(
StringUtil
.
isNotBlank
(
key
))
{
...
...
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