From 191e1c7d6b0c88aac84a6547812acecfeafcdb69 Mon Sep 17 00:00:00 2001 From: wyw <571921741@qq.com> Date: Wed, 21 May 2025 08:52:24 +0800 Subject: [PATCH] =?UTF-8?q?=E7=9F=AD=E4=BF=A1=E6=8F=90=E9=86=92=20?= =?UTF-8?q?=E5=B7=B2=E8=B6=85=E6=9C=9F=E7=9A=84=E4=B8=8D=E6=8F=90=E9=86=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- APT.MicroApi/APT.PP.WebApi/Controllers/Api/BIController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/APT.MicroApi/APT.PP.WebApi/Controllers/Api/BIController.cs b/APT.MicroApi/APT.PP.WebApi/Controllers/Api/BIController.cs index 01d48b1..eef9e61 100644 --- a/APT.MicroApi/APT.PP.WebApi/Controllers/Api/BIController.cs +++ b/APT.MicroApi/APT.PP.WebApi/Controllers/Api/BIController.cs @@ -293,7 +293,7 @@ namespace APT.SC.WebApi.Controllers.Api.BI List sendSMSs = null; if (now.Hour >= 7 && now.Hour < 20) { - sendSMSs = GetEntities(t => t.NOTICE_STATUS == 0 && t.CREATE_TIME > now.AddDays(-12) && !t.SOURCE_FORMCODE.Contains("FO005") && t.SENDTIME == DateTime.MinValue, new BaseFilter(filter.GetOrgId())).ToList(); + sendSMSs = GetEntities(t => t.NOTICE_STATUS == 0 && t.TASK_ENDDT >= now && t.CREATE_TIME > now.AddDays(-12) && !t.SOURCE_FORMCODE.Contains("FO005") && t.SENDTIME == DateTime.MinValue, new BaseFilter(filter.GetOrgId())).ToList();//未超期的进行提醒 var sendSMSs2 = sendSMSs.Where(t => t.TASK_ENDDT < now.AddHours(1) && t.TASK_ENDDT > t.TASK_STARTDT); foreach (var send in sendSMSs2)//1个小时以内 临超时提醒 {