11
This commit is contained in:
@@ -180,7 +180,7 @@ 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.BYCRU != null && x.BYCRU.ToLower() != "none"
|
||||
where x.Flag == "1" && x.EmailIsSend == "否"
|
||||
&& (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