Browse Source

能耗数据修改

wwh 2 years ago
parent
commit
1a9d1a4465
1 changed files with 1 additions and 1 deletions
  1. 1 1
      huimv-admin/src/main/java/com/huimv/admin/timer/EnergyTimer.java

+ 1 - 1
huimv-admin/src/main/java/com/huimv/admin/timer/EnergyTimer.java

@@ -24,7 +24,7 @@ public class EnergyTimer {
     private EnergyDataMapper dataMapper;
 
 //    能耗数据
-    @Scheduled(cron = "0 0/10 * * * ? ")
+    @Scheduled(cron = "0 0 */1 * * ? ")
     private void getShenChan() throws Exception {