From 6b422a4781a1ac8e1978a629c1ba83facb50c54d Mon Sep 17 00:00:00 2001 From: wendy <408182087@qq.com> Date: Tue, 16 Sep 2025 16:42:51 +0800 Subject: [PATCH] =?UTF-8?q?20250916=20=E4=BF=AE=E6=94=B9=E5=AE=9A=E6=97=B6?= =?UTF-8?q?=E9=82=AE=E4=BB=B6=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- FCL/FineUIPro.Web/Evaluation/EvaluationNew.aspx.cs | 8 ++++---- FCL/FineUIPro.Web/Global.asax.cs | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/FCL/FineUIPro.Web/Evaluation/EvaluationNew.aspx.cs b/FCL/FineUIPro.Web/Evaluation/EvaluationNew.aspx.cs index 2c56a79..0fe346e 100644 --- a/FCL/FineUIPro.Web/Evaluation/EvaluationNew.aspx.cs +++ b/FCL/FineUIPro.Web/Evaluation/EvaluationNew.aspx.cs @@ -791,7 +791,7 @@ namespace FineUIPro.Web.Evaluation fsModel.Timely = homelyModel.Timely; } } - else if (fotype.Trim() == "TAR") + else if (fotype.Trim().Contains("TAR")) { if (tar_homelyModel != null && tar_homelyModel.Timely != null) { @@ -915,7 +915,7 @@ namespace FineUIPro.Web.Evaluation fsModel.Timely = homelyModel.Timely; } } - else if (fotype.Trim() == "TAR") + else if (fotype.Trim().Contains("TAR")) { if (tar_homelyModel != null && tar_homelyModel.Timely != null) { @@ -1305,7 +1305,7 @@ namespace FineUIPro.Web.Evaluation fsModel.Timely = homelyModel.Timely; } } - else if (fotype.Trim() == "TAR") + else if (fotype.Trim().Contains("TAR")) { if (tar_homelyModel != null && tar_homelyModel.Timely != null) { @@ -1389,7 +1389,7 @@ namespace FineUIPro.Web.Evaluation fsModel.Timely = homelyModel.Timely; } } - else if (fotype.Trim() == "TAR") + else if (fotype.Trim().Contains("TAR")) { if (tar_homelyModel != null && tar_homelyModel.Timely != null) { diff --git a/FCL/FineUIPro.Web/Global.asax.cs b/FCL/FineUIPro.Web/Global.asax.cs index 4f27433..f50e4d3 100644 --- a/FCL/FineUIPro.Web/Global.asax.cs +++ b/FCL/FineUIPro.Web/Global.asax.cs @@ -46,17 +46,17 @@ AppDomain.Unload(AppDomain.CurrentDomain); } - //每月(2,5,8,10)邮件自动发送给SSR提交人员和主协调人及合同员,用户代表等评价 - if ((DateTime.Now.Day == 2 || DateTime.Now.Day == 5 || DateTime.Now.Day == 8 || DateTime.Now.Day == 10) && DateTime.Now.Hour == 8) + if ((DateTime.Now.Day == 2 || DateTime.Now.Day == 5 || DateTime.Now.Day == 8 || DateTime.Now.Day == 10) && DateTime.Now.Hour == 9) { System.Timers.Timer aTimer = new System.Timers.Timer(); aTimer.Elapsed += new System.Timers.ElapsedEventHandler(aTimer_Elapsed); - //30分钟执行一次 - aTimer.Interval = 1000 * 60 * 30; + //60分钟执行一次 + aTimer.Interval = 1000 * 60 * 60; aTimer.Enabled = true; aTimer.Start(); } + //自动填写评价 if (DateTime.Now.Day == 12) {