publicList>getAllInfo(){List>list=newArrayList>();arrayList.clear();brrayList.clear();crrayList.clear...
public List> getAllInfo() {
List> list = new ArrayList>();
arrayList.clear();
brrayList.clear();
crrayList.clear();
crrayList = Soap.GetWebServre("selectAllCargoInfor", arrayList, brrayList);
HashMap tempHash = new HashMap();
tempHash.put("1", "1");
tempHash.put("2", "2");
tempHash.put("3", "3");
tempHash.put("4", "4");
tempHash.put("5", "5");
tempHash.put("6", "7");
list.add(tempHash);
for (int j = 0; j < crrayList.size(); j += 6) {
HashMap hashMap = new HashMap();
hashMap.put("", crrayList.get(j));
hashMap.put("1", crrayList.get(j + 1));
hashMap.put("2", crrayList.get(j + 2));
hashMap.put("3", crrayList.get(j + 3));
hashMap.put("4", crrayList.get(j + 4));
hashMap.put("5", crrayList.get(j + 5));
list.add(hashMap);
}
return list;
}
数据放list里怎么进行分页操作。
展开