/** * getReportByIdAndDate(-,-)method takes employeeId , attendanceDate as a inputs and display * particular employee working details on given date if it is worked on this date. */ @RequestMapping(value = "/getReportByIdAndDate", method = RequestMethod.POST) public @ResponseBody String getReportByIdAndDate( @RequestParam("employeeId") int employeeId, @RequestParam("attendanceDate") String attendanceDate, HttpServletRequest request) { logger.info("inside ReportGenerationController getReportByIdAndDate()"); return reportGenerationService.getEmployeeWorkingDetailsByIdAndDate( employeeId, new Date(Long.valueOf(attendanceDate))); }