提交代码

This commit is contained in:
2023-09-27 09:59:07 +08:00
parent 74327b5a3e
commit 988d168cbf
15 changed files with 721 additions and 140 deletions
+16
View File
@@ -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;
}
}
}