1
This commit is contained in:
@@ -117,6 +117,26 @@ namespace BLL
|
||||
|
||||
return PostTitleName;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 根据职称ID得到职称名称
|
||||
/// </summary>
|
||||
/// <param name="PostTitleId"></param>
|
||||
/// <returns></returns>
|
||||
public static string getPostTitleNameById(Model.SGGLDB db, string PostTitleId)
|
||||
{
|
||||
string PostTitleName = string.Empty;
|
||||
if (!string.IsNullOrEmpty(PostTitleId))
|
||||
{
|
||||
var q = db.Base_PostTitle.FirstOrDefault(e => e.PostTitleId == PostTitleId);
|
||||
if (q != null)
|
||||
{
|
||||
PostTitleName = q.PostTitleName;
|
||||
}
|
||||
}
|
||||
|
||||
return PostTitleName;
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 表下拉框
|
||||
|
||||
Reference in New Issue
Block a user