From 1076bc6ea82d3ccce60ada077f37940f546842f4 Mon Sep 17 00:00:00 2001 From: huangxianguo Date: Tue, 9 Jul 2024 13:53:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E7=94=A8=E6=88=B7=E6=93=8D?= =?UTF-8?q?=E4=BD=9C=E6=97=A5=E5=BF=97=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- MasstransferExporter/LogExporter/OperationLogExporter.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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); // 读取出昨天内的用户操作日志