提交代码
This commit is contained in:
@@ -761,5 +761,21 @@ namespace BLL
|
||||
return q;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取问题类型名称
|
||||
/// </summary>
|
||||
/// <param name="UnitId"></param>
|
||||
/// <returns></returns>
|
||||
public static string GetQuestionTypeId(string RegisterTypesId)
|
||||
{
|
||||
string name = string.Empty;
|
||||
var unit = Funs.DB.HSSE_Hazard_HazardRegisterTypes.FirstOrDefault(x => x.RegisterTypesId == RegisterTypesId);
|
||||
if (unit != null)
|
||||
{
|
||||
name = unit.RegisterTypesName;
|
||||
}
|
||||
return name;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user