String[] status = params.getParamsAsStringArray("status");
Page<Map<String, Object>> page = userService.findUser(code, name,
roleCodes, status, search.getMaxResults(),
search.getFirstResult());
Map<String, IFormatter> fmt = new HashMap<String, IFormatter>();
fmt.put("createTime", new ADDateFormatter());
fmt.put("updateTime", new ADDateFormatter());
fmt.put("pwdExpiredTime", new ADDateFormatter());
fmt.put("status", new CodeTypeFormatter(codeTypeService, "userStatus",
(Locale) SimpleContextHolder.get(CapWebUtil.localeKey)));
return new MapGridResult(page.getContent(), page.getTotalRow(), fmt);
}// ;