model.put("date1", date1);
model.put("date2", date2);
-
+
return "queryJobStatistics";
}
model.put("date2", date2);
TotalJobsStatisticBean res = cr.countJobs(date1, date2);
model.put("result", res);
+ model.put("ndays", res.getDateTotal().size());
final long endTime = System.currentTimeMillis();
model.put("timeExecution", (endTime - startTime));
model.put("option", option);
return "/reportJobStatistics";
}
-
+
@RequestMapping(value = "/stat/oneday", method = RequestMethod.GET)
public String findJobsInOneDay(@RequestParam("date") String date, Map<String, Object> model) throws ParseException {
final long startTime = System.currentTimeMillis();