20240929 承包商EHSS违规关联SES号的填写通知邮件修改
This commit is contained in:
@@ -180,8 +180,8 @@ namespace FineUIPro.Web.SES
|
||||
protected void btnEmail_Click(object sender, EventArgs e)
|
||||
{
|
||||
List<Model.View_EMC_Punishment> pList = (from x in Funs.DB.View_EMC_Punishment
|
||||
where x.Flag == "1" && x.EmailIsSend == "否"
|
||||
&& (x.PunishDate.Value.Year + x.PunishDate.Value.Month) == (DateTime.Now.Year + DateTime.Now.Month)
|
||||
where x.Flag == "1" && x.EmailIsSend == "否"
|
||||
&& x.CreateDate <= DateTime.Now //(x.PunishDate.Value.Year + x.PunishDate.Value.Month) == (DateTime.Now.Year + DateTime.Now.Month)
|
||||
select x).ToList();
|
||||
if (pList.Count()>0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user