diff --git a/MasstransferExporter/LogExporter/OperationLogExporter.cs b/MasstransferExporter/LogExporter/OperationLogExporter.cs index b5f9dca..b19558b 100644 --- a/MasstransferExporter/LogExporter/OperationLogExporter.cs +++ b/MasstransferExporter/LogExporter/OperationLogExporter.cs @@ -1,10 +1,8 @@ using MasstransferCommon.Model.Constant; using MasstransferCommon.Model.Entity; -using MasstransferCommon.Utils; using MasstransferCommunicate.Mqtt.Client; using MasstransferExporter.LogExporter.Model; using MasstransferInfrastructure.Database.Sqlite; -using Masuit.Tools.DateTimeExt; namespace MasstransferExporter.LogExporter; @@ -20,7 +18,7 @@ public class OperationLogExporter /// public static async Task ExportOperationLog() { - var yesterday = DateTime.Today.AddDays(-7); + var yesterday = DateTime.Today.AddDays(-1); // 读取出昨天内的用户操作日志