20250729 新增合同绩效违规处理邮件

This commit is contained in:
2025-07-29 09:36:24 +08:00
parent c10314d301
commit 50ddcb8dcf
4 changed files with 184 additions and 18 deletions
+7 -2
View File
@@ -226,7 +226,7 @@ namespace BLL
}
/// <summary>
/// 根据承包商ID获取未关闭的FO
/// 根据承包商ID获取未关闭的且有效的及过期一年合同
/// </summary>
/// <param name="dropName"></param>
/// <param name="ContractorId"></param>
@@ -235,7 +235,12 @@ namespace BLL
{
dropName.DataValueField = "FO_NO";
dropName.DataTextField = "FO_NO";
dropName.DataSource = (from x in Funs.DB.FC_SESRelatedData where x.Contractor == ContractorId && x.FC_Status != "Closed" orderby x.FO_NO select x.FO_NO).Distinct();
dropName.DataSource = (from x in Funs.DB.FC_SESRelatedData
where x.Contractor == ContractorId
&& x.FC_Status != "Closed"
&& x.Expire_Date.Value.AddYears(1) >= DateTime.Now
orderby x.FO_NO
select x.FO_NO).Distinct();
dropName.DataBind();
if (isShowPlease)
{