Commit e9b1fa47 authored by chuwanshun's avatar chuwanshun

bug修改

parent 4eab20c6
...@@ -209,7 +209,11 @@ public class QueryService { ...@@ -209,7 +209,11 @@ public class QueryService {
: ""); : "");
newOwners.add(ownerMap); newOwners.add(ownerMap);
} }
resultMap.put("owners", newOwners); if(newOwners.size()>0) {
resultMap.put("owners", newOwners);
}else {
resultMap.put("owners", newApplicants);
}
String abstract1 = StringUtils.isNotBlank(sourceJsonObject.getJSONObject("abstract").getString("text_zh")) String abstract1 = StringUtils.isNotBlank(sourceJsonObject.getJSONObject("abstract").getString("text_zh"))
? sourceJsonObject.getJSONObject("abstract").getString("text_zh") ? sourceJsonObject.getJSONObject("abstract").getString("text_zh")
......
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