20240925 邮件提醒修改

This commit is contained in:
毕文静 2024-09-25 16:10:43 +08:00
parent 2a579d626f
commit d9a2eb7638
2 changed files with 4 additions and 4 deletions

View File

@ -402,7 +402,7 @@ namespace FineUIPro.Web.SES
NameValueCollection myPram = new NameValueCollection();
myPram.Add("ContractNo", pun.FO_NO);
myPram.Add("Contractor", txtContractor.Text);
myPram.Add("编号", pun.FO_NO + "-" + pun.ItemNo);
myPram.Add("ItemNo", pun.FO_NO + "-" + pun.ItemNo);
myPram.Add("Date", pun.PunishDate != null ? pun.PunishDate.Value.ToString("yyyy-MM-dd") : "");
myPram.Add("Time", pun.PunishDate != null ? pun.PunishDate.Value.ToString("HH:mm") : "");
myPram.Add("Violation Description", pun.Description);
@ -476,7 +476,7 @@ namespace FineUIPro.Web.SES
NameValueCollection myPram = new NameValueCollection();
myPram.Add("ContractNo", pun.FO_NO);
myPram.Add("Contractor", txtContractor.Text);
myPram.Add("编号", pun.FO_NO + "-" + pun.ItemNo);
myPram.Add("ItemNo", pun.FO_NO + "-" + pun.ItemNo);
myPram.Add("Date", pun.PunishDate != null ? pun.PunishDate.Value.ToString("yyyy-MM-dd") : "");
myPram.Add("Time", pun.PunishDate != null ? pun.PunishDate.Value.ToString("HH:mm") : "");
myPram.Add("Violation Description", pun.Description);
@ -512,11 +512,11 @@ namespace FineUIPro.Web.SES
NameValueCollection myPram = new NameValueCollection();
myPram.Add("ContractNo", pun.FO_NO);
myPram.Add("Contractor", txtContractor.Text);
myPram.Add("编号", pun.FO_NO + "-" + pun.ItemNo);
myPram.Add("ItemNo", pun.FO_NO + "-" + pun.ItemNo);//编号
myPram.Add("Date", pun.PunishDate != null ? pun.PunishDate.Value.ToString("yyyy-MM-dd") : "");
myPram.Add("Time", pun.PunishDate != null ? pun.PunishDate.Value.ToString("HH:mm") : "");
myPram.Add("Violation Description", pun.Description);
myPram.Add("拒绝描述", txtAuditResult.Text.Trim());
myPram.Add("RejectionDescription", txtAuditResult.Text.Trim());//拒绝描述
result = MailHelper.SendPunishSesMail(pops, myPram, "承包商质量违规审核被拒绝", mailTo, mailCC, out resultMessage);
}
}