|
|
|
@ -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<string, List<EmeterEnergyChange>> dictionaryChange =
|
|
|
|
|
emeterEnergiesChange.GroupBy(i => i.Code).ToDictionary(i => i.Key, i => i.ToList());
|
|
|
|
|
}*/
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return Task.CompletedTask;
|
|
|
|
|
}
|
|
|
|
|