1
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -177,5 +177,36 @@ namespace WebAPI.Controllers
|
||||
return responeData;
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 获取检查类型
|
||||
/// <summary>
|
||||
/// 获取检查类型
|
||||
/// </summary>
|
||||
/// <param name="hazardRegister"></param>
|
||||
/// <returns></returns>
|
||||
public Model.ResponeData getHazardRegisterTypeList()
|
||||
{
|
||||
var responeData = new Model.ResponeData();
|
||||
try
|
||||
{
|
||||
var getDataList = (from x in Funs.DB.HSSE_Hazard_HazardRegisterTypes
|
||||
where x.HazardRegisterType == "1"
|
||||
orderby x.TypeCode
|
||||
select new
|
||||
{
|
||||
x.RegisterTypesId,
|
||||
x.RegisterTypesName
|
||||
}).ToList();
|
||||
responeData.data = getDataList;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
responeData.code = 0;
|
||||
responeData.message = ex.Message;
|
||||
}
|
||||
|
||||
return responeData;
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user