@RequestMapping("/showUser")
	public String showUser(User user, String pages,HttpServletRequest request) {
		Map<Object, Object> map = new HashMap<Object, Object>();
		map.put("cardno", user.getCardno());
		map.put("name", user.getName());
		map.put("phone", user.getPhone());
		map.put("idcard", user.getIdcard());
		
		int curPage = 0;
		if (pages == null || pages.trim().equals("")) {
			curPage = 1;
		} else {
			curPage = Integer.parseInt(pages);
		}
		request.setAttribute("curPage", curPage);
		map.put("min", (curPage - 1) * page);
		map.put("max", page);
		List<User> u = userService.findAll(map);
		int count =userService.countUsers(map);
		if (count % page == 0) {
			request.setAttribute("pageNumber", count / page);
		} else {
			request.setAttribute("pageNumber", count / page + 1);
		}
		request.setAttribute("userList", u);
		request.setAttribute("user", user);
		request.setAttribute("count", count);
		return "showUser";
	}