fix:接口
This commit is contained in:
@@ -19,6 +19,28 @@ public class ConstructionStandardsService
|
||||
e.ConstructionStandardsId == ConstructionStandardsId);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取集合
|
||||
/// </summary>
|
||||
/// <param name="ConstructionStandardsId"></param>
|
||||
/// <returns></returns>
|
||||
public static List<ConstructionStandardsItem> GetConstructionStandardsList()
|
||||
{
|
||||
List<ConstructionStandardsItem> getDataLists = (from x in Funs.DB.Technique_ConstructionStandards
|
||||
select new ConstructionStandardsItem
|
||||
{
|
||||
ConstructionStandardsId = x.ConstructionStandardsId,
|
||||
ConstructionStandardsCode = x.ConstructionStandardsCode,
|
||||
ConstructionStandardsName = x.ConstructionStandardsName,
|
||||
AttachUrl = x.AttachUrl,
|
||||
CompileMan = x.CompileMan,
|
||||
CompileDate = x.CompileDate,
|
||||
IsPass = x.IsPass,
|
||||
UpState = x.UpState,
|
||||
Remark = x.Remark
|
||||
}).ToList();
|
||||
return getDataLists;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 添加
|
||||
@@ -93,4 +115,63 @@ public class ConstructionStandardsService
|
||||
db.SubmitChanges();
|
||||
}
|
||||
}
|
||||
public class ConstructionStandardsItem
|
||||
{
|
||||
|
||||
public string ConstructionStandardsId
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
public string ConstructionStandardsCode
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
public string ConstructionStandardsName
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
public string AttachUrl
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
public string CompileMan
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
public System.Nullable<System.DateTime> CompileDate
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
public System.Nullable<bool> IsPass
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
public string UpState
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
public string Remark
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user