Commit 27a081d2 authored by Quxl's avatar Quxl

x

parent 6462d97f
...@@ -600,11 +600,11 @@ public class ExportServiceImpl implements ExportService { ...@@ -600,11 +600,11 @@ public class ExportServiceImpl implements ExportService {
stringVars.put("25,1", filmExt.getCast()); stringVars.put("25,1", filmExt.getCast());
stringVars.put("27,1", filmExt.getProduction_en()); stringVars.put("27,1", filmExt.getProduction_en());
stringVars.put("29,1", filmExt.getWorld_sales()); stringVars.put("29,1", filmExt.getWorld_sales());
stringVars.put("30,1", ExportConstant.resolutionopts.get(String.valueOf(filmExt.getResolution()))); stringVars.put("30,1", ExportConstant.resolutionopts.get(String.valueOf(filmExt.getResolution()).trim()));
stringVars.put("31,1", ExportConstant.aspectopts.get(String.valueOf(filmExt.getAspect_ratio()))); stringVars.put("31,1", ExportConstant.aspectopts.get(String.valueOf(filmExt.getAspect_ratio()).trim()));
stringVars.put("32,1", ExportConstant.soundopts.get(String.valueOf(filmExt.getSound_format()))); stringVars.put("32,1", ExportConstant.soundopts.get(String.valueOf(filmExt.getSound_format()).trim()));
stringVars.put("33,1", ExportConstant.frameopts.get(String.valueOf(filmExt.getFrame_rate()))); stringVars.put("33,1", ExportConstant.frameopts.get(String.valueOf(filmExt.getFrame_rate()).trim()));
stringVars.put("34,1", ExportConstant.kdmopts.get(String.valueOf(filmExt.getKdm()))); stringVars.put("34,1", ExportConstant.kdmopts.get(String.valueOf(filmExt.getKdm()).trim()));
stringVars.put("5,3", filmExt.getSynopsis_cn()); stringVars.put("5,3", filmExt.getSynopsis_cn());
stringVars.put("12,3", filmExt.getSynopsis_en()); stringVars.put("12,3", filmExt.getSynopsis_en());
stringVars.put("20,5", filmExt.getDirector_biography_cn()); stringVars.put("20,5", filmExt.getDirector_biography_cn());
...@@ -613,7 +613,7 @@ public class ExportServiceImpl implements ExportService { ...@@ -613,7 +613,7 @@ public class ExportServiceImpl implements ExportService {
stringVars.put("23,5", filmExt.getDirector_en()); stringVars.put("23,5", filmExt.getDirector_en());
for(String key : stringVars.keySet()) { for(String key : stringVars.keySet()) {
String value = stringVars.get(key); String value = stringVars.get(key);
value = value == null ? "" : value; value = value == null ? "" : value.trim();
String[] row_col_ary = key.split(",", 2); String[] row_col_ary = key.split(",", 2);
Integer row = Integer.valueOf(row_col_ary[0]); Integer row = Integer.valueOf(row_col_ary[0]);
Integer col = Integer.valueOf(row_col_ary[1]); Integer col = Integer.valueOf(row_col_ary[1]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment