查询高危人员新增判空

parent 8cc34a05
...@@ -241,6 +241,7 @@ public class CallDygabxxfw{ ...@@ -241,6 +241,7 @@ public class CallDygabxxfw{
*/ */
public static Map returnXmlMap(Document doc,String zylxtype){ public static Map returnXmlMap(Document doc,String zylxtype){
Map datamap = new HashMap();//存放需要返回到前台的数据 Map datamap = new HashMap();//存放需要返回到前台的数据
if(null != doc){
List pkgList = new ArrayList();//存表头 List pkgList = new ArrayList();//存表头
List datalist = new ArrayList();//存数据 List datalist = new ArrayList();//存数据
Element rootElement = doc.getRootElement(); Element rootElement = doc.getRootElement();
...@@ -264,6 +265,7 @@ public class CallDygabxxfw{ ...@@ -264,6 +265,7 @@ public class CallDygabxxfw{
datamap.put("zylx", id);//存放资源类型 datamap.put("zylx", id);//存放资源类型
datamap.put("dataResult", datalist); datamap.put("dataResult", datalist);
datamap.put("title", pkgList); datamap.put("title", pkgList);
}
return datamap; return datamap;
} }
/** /**
......
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