Commit 568ccfd1 authored by Quxl's avatar Quxl

x

parent 072543e4
...@@ -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);
......
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