20240929 承包商EHSS违规关联SES号的填写通知邮件修改

This commit is contained in:
毕文静 2024-09-29 17:25:27 +08:00
parent ce468ed018
commit 65feccb6b2
3 changed files with 75 additions and 7 deletions

View File

@ -180,8 +180,8 @@ namespace FineUIPro.Web.SES
protected void btnEmail_Click(object sender, EventArgs e) protected void btnEmail_Click(object sender, EventArgs e)
{ {
List<Model.View_EMC_Punishment> pList = (from x in Funs.DB.View_EMC_Punishment List<Model.View_EMC_Punishment> pList = (from x in Funs.DB.View_EMC_Punishment
where x.Flag == "1" && x.EmailIsSend == "否" where x.Flag == "1" && x.EmailIsSend == "否"
&& (x.PunishDate.Value.Year + x.PunishDate.Value.Month) == (DateTime.Now.Year + DateTime.Now.Month) && x.CreateDate <= DateTime.Now //(x.PunishDate.Value.Year + x.PunishDate.Value.Month) == (DateTime.Now.Year + DateTime.Now.Month)
select x).ToList(); select x).ToList();
if (pList.Count()>0) if (pList.Count()>0)
{ {

View File

@ -29,11 +29,7 @@ namespace Model
#region #region
partial void OnCreated(); partial void OnCreated();
partial void OnCreated() partial void InsertAttachFile(AttachFile instance);
{
this.CommandTimeout = 600;
}
partial void InsertAttachFile(AttachFile instance);
partial void UpdateAttachFile(AttachFile instance); partial void UpdateAttachFile(AttachFile instance);
partial void DeleteAttachFile(AttachFile instance); partial void DeleteAttachFile(AttachFile instance);
partial void InsertAudiFlow(AudiFlow instance); partial void InsertAudiFlow(AudiFlow instance);
@ -28626,6 +28622,8 @@ namespace Model
private string _EmailIsSend; private string _EmailIsSend;
private System.Nullable<System.DateTime> _CreateDate;
public View_EMC_Punishment() public View_EMC_Punishment()
{ {
} }
@ -29205,6 +29203,22 @@ namespace Model
} }
} }
} }
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateDate", DbType="DateTime")]
public System.Nullable<System.DateTime> CreateDate
{
get
{
return this._CreateDate;
}
set
{
if ((this._CreateDate != value))
{
this._CreateDate = value;
}
}
}
} }
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_EMC_Que_Punishment")] [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_EMC_Que_Punishment")]
@ -29291,6 +29305,12 @@ namespace Model
private string _EmailIsSend; private string _EmailIsSend;
private string _AuditMan;
private string _Main_CoordinatorId;
private System.Nullable<bool> _IsAudit;
public View_EMC_Que_Punishment() public View_EMC_Que_Punishment()
{ {
} }
@ -29934,6 +29954,54 @@ namespace Model
} }
} }
} }
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AuditMan", DbType="NVarChar(50)")]
public string AuditMan
{
get
{
return this._AuditMan;
}
set
{
if ((this._AuditMan != value))
{
this._AuditMan = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Main_CoordinatorId", DbType="NVarChar(50)")]
public string Main_CoordinatorId
{
get
{
return this._Main_CoordinatorId;
}
set
{
if ((this._Main_CoordinatorId != value))
{
this._Main_CoordinatorId = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsAudit", DbType="Bit")]
public System.Nullable<bool> IsAudit
{
get
{
return this._IsAudit;
}
set
{
if ((this._IsAudit != value))
{
this._IsAudit = value;
}
}
}
} }
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_ExtremeScoresReport")] [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_ExtremeScoresReport")]