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