11212121
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using Model;
|
||||
using NPOI.SS.Formula.Functions;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data.Common;
|
||||
@@ -79,7 +80,7 @@ namespace BLL.Email_Send
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 根据主键删除EProject
|
||||
#region 根据主键删除
|
||||
/// <summary>
|
||||
/// 根据主键删除EProject
|
||||
/// </summary>
|
||||
@@ -95,7 +96,7 @@ namespace BLL.Email_Send
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 根据EmailNotifier查询EProject
|
||||
#region 根据EmailNotifier查询
|
||||
/// <summary>
|
||||
/// 根据EmailNotifier查询EProject
|
||||
/// </summary>
|
||||
@@ -106,7 +107,7 @@ namespace BLL.Email_Send
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 根据EmailNotifier查询EProject
|
||||
#region 根据EmailNotifier查询
|
||||
/// <summary>
|
||||
/// 根据EmailNotifier查询EProject
|
||||
/// </summary>
|
||||
@@ -117,6 +118,19 @@ namespace BLL.Email_Send
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 根据模版ID获取发送人列表
|
||||
public static List<string> GetEmailByTemplateId(string templateId,string isCc)
|
||||
{
|
||||
var result = (from a in Funs.DB.Email_ToPeople
|
||||
join b in Funs.DB.Sys_User on a.EmuserID equals b.UserId
|
||||
where b.IsPost.Value && b.Email!=""
|
||||
&& a.EMPeopleType==isCc && a.EmtempID==templateId
|
||||
select b.Email
|
||||
).ToList();
|
||||
|
||||
return result;
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 事务提交 新增
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user