@RequestMapping("/lishi")
	public String lishi(String cardno,String name,String pages,HttpServletRequest request) throws Exception{
		Map<Object, Object> map = new HashMap<Object, Object>();
		int curPage = 0;
		List<Logging> loggings= loggingService.findLoggingByNo(cardno);
		if(loggings != null && loggings.size()>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);
			map.put("cardno", cardno);
			if(!cardno.isEmpty()){
				request.setAttribute("cardno", cardno);
			}
			List<Logging> l = loggingService.findUserBypage(map);
			int count =loggingService.countLoggingByNo(cardno);
			if (count % page == 0) {
				request.setAttribute("pageNumber", count / page);
			} else {
				request.setAttribute("pageNumber", count / page + 1);
			}
			request.setAttribute("loggings", l);
			request.setAttribute("count", count);
			
		}else{
			request.setAttribute("loggings", null);
		}
		request.setAttribute("cardno", cardno);
		request.setAttribute("name", name);
		return "lishi";
	}