首页修改
This commit is contained in:
@@ -57,14 +57,29 @@ namespace BLL
|
||||
return getDataLists;
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 获取项目列表
|
||||
/// <summary>
|
||||
/// 获取项目列表
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static List<Model.BaseInfoItem> getProjectList()
|
||||
#endregion
|
||||
#region 获取常量
|
||||
/// <summary>
|
||||
/// 获取培训级别
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static Model.Project_ProjectUnit ProjectUnit(string projectUnitId)
|
||||
{
|
||||
using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
|
||||
{
|
||||
var getDataLists = from x in db.Project_ProjectUnit
|
||||
where x.ProjectUnitId == projectUnitId
|
||||
select x;
|
||||
return getDataLists.FirstOrDefault();
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
#region 获取项目列表
|
||||
/// <summary>
|
||||
/// 获取项目列表
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static List<Model.BaseInfoItem> getProjectList()
|
||||
{
|
||||
using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user