if("xb_zhldzcl".equals(testrecordename)){
List<DataModel> data =new ArrayList<DataModel>();
HashMap<String,DataModel> map =new HashMap<String,DataModel>();
Object a = datas.get("xb_zhldzcl.zhldz");
for(Map<String,Object> testdata : testdatasList)
{
if(testdata.get("xb").equals("C1-C3")){
String zhldz1 = testdata.get("zhldz").toString();
datas.put("dts_xb_zhldzcl.zhldz1",zhldz1);
}
if(testdata.get("xb").equals("A1-A3")){
String zhldz2 = testdata.get("zhldz").toString();
datas.put("dts_xb_zhldzcl.zhldz2",zhldz2);
}
if(testdata.get("xb").equals("B1-B3")){
String zhldz3 = testdata.get("zhldz").toString();
datas.put("dts_xb_zhldzcl.zhldz3",zhldz3);
}
}
datas.put("dts_"+testrecordename,testdatasList);
setDatasMap(datas,testdatasList,"dts_"+testrecordename,"");
}
取后台数据到前端或者报告文档一一对应展示
最新推荐文章于 2024-09-04 15:29:36 发布