src/main/java/com/moral/controller/ScreenController.java
@@ -188,9 +188,10 @@ * @param request * the request * @return the average by all * @throws Exception */ @GetMapping("all-average") public Map<String, Object> getAllSensorAverageByDevice(HttpServletRequest request) { public Map<String, Object> getAllSensorAverageByDevice(HttpServletRequest request) throws Exception { Map<String, Object> parameters = getParametersStartingWith(request, null); return historyService.getAllSensorAverageByDevice(parameters); }