diff --git a/SUBQHSE/BLL/SanKu/SanKuDataSummaryReportService.cs b/SUBQHSE/BLL/SanKu/SanKuDataSummaryReportService.cs index 3481fbc..66e78f0 100644 --- a/SUBQHSE/BLL/SanKu/SanKuDataSummaryReportService.cs +++ b/SUBQHSE/BLL/SanKu/SanKuDataSummaryReportService.cs @@ -1017,7 +1017,7 @@ namespace BLL public static string UpdateHazardRecord(string hazardId, ref string message) { string result = string.Empty; - using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString)) + using (Model.SUBQHSEDB db = new Model.SUBQHSEDB(Funs.ConnString)) { var models = from tba in db.HSSE_Hazard_HazardRegister join bu in db.Base_Unit on tba.ResponsibleUnit equals bu.UnitId