diff --git a/Service/MyJob/EmeterMinuteJob.cs b/Service/MyJob/EmeterMinuteJob.cs index 21cce42..2eb9b98 100644 --- a/Service/MyJob/EmeterMinuteJob.cs +++ b/Service/MyJob/EmeterMinuteJob.cs @@ -27,7 +27,7 @@ public class EmeterMinuteJob : AbstrackCronJob protected override Task Handle() { - /*var now = DateTime.Now; + var now = DateTime.Now; Log.Info($"EmeterMinuteJob execute time={now}"); //查询上一分钟的数据 string dateTime = now.AddMinutes(-1).ToString("yyyy-MM-dd HH:mm"); @@ -55,7 +55,7 @@ public class EmeterMinuteJob : AbstrackCronJob { Dictionary> dictionaryChange = emeterEnergiesChange.GroupBy(i => i.Code).ToDictionary(i => i.Key, i => i.ToList()); - }*/ + } return Task.CompletedTask; }