@RequestMapping(value = "/getlastsending") public String getEmployedDate(@ModelAttribute People people, Model map) { map.addAttribute("lastsending", stuffService.getEmployedDate(people)); return "employedate"; }