queryMap.put("USERID", queryInfo);
queryMap.put("USERNAME", queryInfo);
}
int firstResult = rowNum*(pageIndex-1)+1;//起始行
int maxResults = pageIndex*rowNum;//结束行
Map<String,Object> userListMap = identityService.getUserTos(new Page(firstResult,maxResults), queryMap);
List<UserTo> userTos = (List<UserTo>)userListMap.get("userList");
int count = (Integer)userListMap.get("count");
List<Map<String,Object>> userList = new ArrayList<Map<String,Object>>();
Pagination page = new Pagination(pageIndex,rowNum);
page.setTotal(count);