diff --git a/SGGL/BLL/API/HSSE/APIHazardRegisterService.cs b/SGGL/BLL/API/HSSE/APIHazardRegisterService.cs index 5f582f5..c0e9536 100644 --- a/SGGL/BLL/API/HSSE/APIHazardRegisterService.cs +++ b/SGGL/BLL/API/HSSE/APIHazardRegisterService.cs @@ -159,7 +159,7 @@ namespace BLL var hazardRegisters = (from x in db.HSSE_Hazard_HazardRegister where x.CheckTime.Value.Year == mdate.Year && x.CheckTime.Value.Month == mdate.Month - && x.CheckTime.Value.Day == mdate.Day && x.ProjectId == projectId + && x.CheckTime.Value.Day == mdate.Day select new Model.HazardRegisterItem { HazardRegisterId = x.HazardRegisterId,