@RequestMapping("/showStaff")
	public String showStaff(Staff s, String pages,HttpServletRequest request) {
		Map<Object, Object> map = new HashMap<Object, Object>();
		map.put("name", s.getName());
		map.put("username", s.getUsername());
		map.put("status", s.getStatus());
		map.put("telephone", s.getTelephone());
		
		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<Staff> u = staffService.findAll(map);
		int count =staffService.countStaffs();
		if (count % page == 0) {
			request.setAttribute("pageNumber", count / page);
		} else {
			request.setAttribute("pageNumber", count / page + 1);
		}
		request.setAttribute("count", count);
		request.setAttribute("staffList", u);
		request.setAttribute("s", s);
		return "showStaff";
	}