|
@@ -42,7 +42,7 @@ public class StatisticsServiceImpl implements IStatisticsService {
|
|
|
|
|
|
|
|
|
|
@Override
|
|
@Override
|
|
- @Scheduled(cron = "0 * * * * *")
|
|
|
|
|
|
+ @Scheduled(cron = "0 0 * * * *")
|
|
public void dataOverviewTask() {
|
|
public void dataOverviewTask() {
|
|
DealerAggregatedDTO dealerAggregatedDTO = this.dealerAggregated();
|
|
DealerAggregatedDTO dealerAggregatedDTO = this.dealerAggregated();
|
|
ConsumptionBalanceDataDTO consumptionBalanceDataDTO = this.rechargeConsumption();
|
|
ConsumptionBalanceDataDTO consumptionBalanceDataDTO = this.rechargeConsumption();
|
|
@@ -56,12 +56,12 @@ public class StatisticsServiceImpl implements IStatisticsService {
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
- @Scheduled(cron = "0 * * * * *")
|
|
|
|
|
|
+ @Scheduled(cron = "0 0/15 * * * *")
|
|
public void analysisPreviewTask0(){
|
|
public void analysisPreviewTask0(){
|
|
analysisPreviewTask(0);
|
|
analysisPreviewTask(0);
|
|
}
|
|
}
|
|
|
|
|
|
- @Scheduled(cron = "0 * * * * *")
|
|
|
|
|
|
+ @Scheduled(cron = "0 0 1 * * *")
|
|
public void analysisPreviewTask1(){
|
|
public void analysisPreviewTask1(){
|
|
analysisPreviewTask(0);
|
|
analysisPreviewTask(0);
|
|
analysisPreviewTask(1);
|
|
analysisPreviewTask(1);
|
|
@@ -124,7 +124,7 @@ public class StatisticsServiceImpl implements IStatisticsService {
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
- @Scheduled(cron = "0 * * * * *")
|
|
|
|
|
|
+ @Scheduled(cron = "0 0/15 * * * *")
|
|
public void watchEndPlayTrendTask0(){
|
|
public void watchEndPlayTrendTask0(){
|
|
this.watchEndPlayTrendTask(0);
|
|
this.watchEndPlayTrendTask(0);
|
|
this.watchEndPlayTrendTask(1);
|
|
this.watchEndPlayTrendTask(1);
|
|
@@ -133,6 +133,14 @@ public class StatisticsServiceImpl implements IStatisticsService {
|
|
this.watchEndPlayTrendTask(4);
|
|
this.watchEndPlayTrendTask(4);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ @Scheduled(cron = "0 0 1 * * *")
|
|
|
|
+ public void watchEndPlayTrendTask1(){
|
|
|
|
+ this.watchEndPlayTrendTask(1);
|
|
|
|
+ this.watchEndPlayTrendTask(2);
|
|
|
|
+ this.watchEndPlayTrendTask(3);
|
|
|
|
+ this.watchEndPlayTrendTask(4);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
|
|
@Override
|
|
@Override
|
|
public void watchEndPlayTrendTask(Integer type) {
|
|
public void watchEndPlayTrendTask(Integer type) {
|