标签:
1.这样方式可以把key相同的数据从userList 筛选出来,并分类好放到ArrayList<TUser>中
Map<String, ArrayList<TUser>> arrayMap = new HashMap<String, ArrayList<TUser>>();
ArrayList<TUser> userList = new ArrayList<TUser>();
List varList = (List) dao.findForList("RingMapper.findRingOrgUserList", null);
arrayMap.get(or.getString("T_ORG_ID")).add(user);
标签:
原文地址:http://www.cnblogs.com/jianyi12/p/5727248.html