|
|
|
@ -488,15 +488,8 @@ public class TestController {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@GetMapping(value = "/task/analysisDashboard")
|
|
|
|
|
public void analysisDashboard(@RequestParam("date") String date) {
|
|
|
|
|
synchronizedScheduler.executeProcess("manage_task:dashboardTask", 120_000,
|
|
|
|
|
() -> {
|
|
|
|
|
try {
|
|
|
|
|
dashboardService.generateCustomersAndOrdersStatistics(DateUtils.parseDate(date, "yyyyMMdd"));
|
|
|
|
|
} catch (ParseException e) {
|
|
|
|
|
e.printStackTrace();
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
public void analysisDashboard(@RequestParam("date") String date) throws ParseException {
|
|
|
|
|
dashboardService.generateCustomersAndOrdersStatistics(DateUtils.parseDate(date, "yyyyMMdd"));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|