河北专项检查和移动端
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using EmitMapper;
|
||||
using Model;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
||||
@@ -6,6 +7,23 @@ namespace BLL
|
||||
{
|
||||
public static class APIProjectService
|
||||
{
|
||||
#region 获取所有项目列表
|
||||
public static List<Model.ProjectItem> geProjects()
|
||||
{
|
||||
using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
|
||||
{
|
||||
|
||||
return (from x in db.Base_Project
|
||||
select new Model.ProjectItem()
|
||||
{
|
||||
ProjectId = x.ProjectId,
|
||||
ProjectName = x.ProjectName
|
||||
}).ToList(); ;
|
||||
}
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
/// <summary>
|
||||
/// 根据userId获取用户信息
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user