diff --git a/SGGL/BLL/API/APIBaseInfoService.cs b/SGGL/BLL/API/APIBaseInfoService.cs
index dbd75469..2fac7f4b 100644
--- a/SGGL/BLL/API/APIBaseInfoService.cs
+++ b/SGGL/BLL/API/APIBaseInfoService.cs
@@ -227,6 +227,25 @@ namespace BLL
return getDataLists;
}
}
+ #endregion
+
+ #region 根据类型获取巡检隐患类型表
+ ///
+ /// 根据类型获取巡检隐患类型表
+ ///
+ ///
+ ///
+ public static List getHazardRegisterTypes2(string type)
+ {
+ using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
+ {
+ var getDataLists = (from x in Funs.DB.Technique_CheckItemSet
+ where x.CheckType == "2" && x.SupCheckItem == type
+ orderby x.MapCode
+ select new Model.BaseInfoItem { BaseInfoId = x.CheckItemSetId, BaseInfoCode = x.MapCode, BaseInfoName = x.CheckItemName }).ToList();
+ return getDataLists;
+ }
+ }
#endregion
#region 根据项目id获取项目图片
diff --git a/SGGL/FineUIPro.Web/FineUIPro.Web.csproj b/SGGL/FineUIPro.Web/FineUIPro.Web.csproj
index aa834918..d49f8b94 100644
--- a/SGGL/FineUIPro.Web/FineUIPro.Web.csproj
+++ b/SGGL/FineUIPro.Web/FineUIPro.Web.csproj
@@ -16839,7 +16839,7 @@
-
+
diff --git a/SGGL/WebAPI/Controllers/BaseInfoController.cs b/SGGL/WebAPI/Controllers/BaseInfoController.cs
index ccd86fc0..8a947efa 100644
--- a/SGGL/WebAPI/Controllers/BaseInfoController.cs
+++ b/SGGL/WebAPI/Controllers/BaseInfoController.cs
@@ -33,6 +33,29 @@ namespace WebAPI.Controllers
}
#endregion
+ #region 根据groupType获取检查类型
+ ///
+ /// 根据groupType获取检查类型
+ ///
+ ///
+ ///
+ public Model.ResponeData getHazardRegisterTypes2(string type)
+ {
+ var responeData = new Model.ResponeData();
+ try
+ {
+ responeData.data = BLL.APIBaseInfoService.getHazardRegisterTypes(type);
+ }
+ catch (Exception ex)
+ {
+ responeData.code = 0;
+ responeData.message = ex.Message;
+ }
+
+ return responeData;
+ }
+ #endregion
+
#region 获取项目列表
///
/// 获取项目列表