Commit 4e8008fd by 焦荣

修改参数格式

parent b3faee09
...@@ -126,13 +126,9 @@ public class RyfkController { ...@@ -126,13 +126,9 @@ public class RyfkController {
if(zbfzxyr.get("dataResult")!=null&&!zbfzxyr.get("dataResult").equals("")){ if(zbfzxyr.get("dataResult")!=null&&!zbfzxyr.get("dataResult").equals("")){
rowlist = (ArrayList) zbfzxyr.get("dataResult"); rowlist = (ArrayList) zbfzxyr.get("dataResult");
} }
System.out.println("rowlist=dataResult===" + rowlist);
System.out.println("rowlist=size===" + rowlist.size());
List ajxxlist = new ArrayList(); List ajxxlist = new ArrayList();
for (int i = 0; i < rowlist.size(); i++) { //查询人员对应的案件 存在一人多案 for (int i = 0; i < rowlist.size(); i++) { //查询人员对应的案件 存在一人多案
String dataResult = rowlist.get(i).toString(); String dataResult = rowlist.get(i).toString();
System.out.println("dataResult=ddddddd===" + dataResult);
// Map maps = (Map) JSON.parse(dataResult.replace("=",":")); // Map maps = (Map) JSON.parse(dataResult.replace("=",":"));
Map maps = strtomap(dataResult); Map maps = strtomap(dataResult);
String asjbh = maps.get("ASJBH")==null?"":maps.get("ASJBH").toString(); String asjbh = maps.get("ASJBH")==null?"":maps.get("ASJBH").toString();
...@@ -145,8 +141,8 @@ public class RyfkController { ...@@ -145,8 +141,8 @@ public class RyfkController {
asjlist = (ArrayList) asjmap.get("dataResult"); asjlist = (ArrayList) asjmap.get("dataResult");
System.out.println("asjbh= 返回案件信息==" + asjlist); System.out.println("asjbh= 返回案件信息==" + asjlist);
//案件map //案件map
System.out.println("asjmaps=i===" + rowlist.get(0).toString()); System.out.println("asjmaps=i===" + asjlist.get(0).toString());
Map asjmaps = strtomap(rowlist.get(0).toString()); Map asjmaps = strtomap(asjlist.get(0).toString());
TbStAsj asj = new TbStAsj(); TbStAsj asj = new TbStAsj();
System.out.println("asj= === " + asj.getASJBH()); System.out.println("asj= === " + asj.getASJBH());
Maputil.mapToObject(asj, asjmaps); Maputil.mapToObject(asj, asjmaps);
......
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