This commit is contained in:
parent
22c9f4744e
commit
1b3d8e687c
|
@ -1384,7 +1384,7 @@ namespace BLL
|
|||
public static int GetGeneralClosedNum(string projectid)
|
||||
{
|
||||
var result = (from x in Funs.DB.HSSE_Hazard_HazardRegister
|
||||
where x.ProjectId == projectid && x.Risk_Level == "一般" && x.States == "3" &&
|
||||
where x.ProjectId == projectid && x.Risk_Level == "一般事故隐患" && x.States == "3" &&
|
||||
x.CheckTime > Const.DtmarkTime
|
||||
select x).Count();
|
||||
return result;
|
||||
|
@ -1397,7 +1397,7 @@ namespace BLL
|
|||
public static int GetGeneralNotClosedNum(string projectid)
|
||||
{
|
||||
var result = (from x in Funs.DB.HSSE_Hazard_HazardRegister
|
||||
where x.ProjectId == projectid && x.Risk_Level == "一般" && x.States != "3" && x.States != "-1" &&
|
||||
where x.ProjectId == projectid && x.Risk_Level == "一般事故隐患" && x.States != "3" && x.States != "-1" &&
|
||||
x.CheckTime > Const.DtmarkTime
|
||||
select x).Count();
|
||||
return result;
|
||||
|
@ -1410,7 +1410,7 @@ namespace BLL
|
|||
public static int GetMajorClosedNum(string projectid)
|
||||
{
|
||||
var result = (from x in Funs.DB.HSSE_Hazard_HazardRegister
|
||||
where x.ProjectId == projectid && x.Risk_Level == "重大" && x.States == "3" &&
|
||||
where x.ProjectId == projectid && x.Risk_Level == "重大事故隐患" && x.States == "3" &&
|
||||
x.CheckTime > Const.DtmarkTime
|
||||
select x).Count();
|
||||
return result;
|
||||
|
@ -1423,7 +1423,7 @@ namespace BLL
|
|||
public static int GetMajorNotClosedNum(string projectid)
|
||||
{
|
||||
var result = (from x in Funs.DB.HSSE_Hazard_HazardRegister
|
||||
where x.ProjectId == projectid && x.Risk_Level == "重大" && x.States != "3" && x.States != "-1" &&
|
||||
where x.ProjectId == projectid && x.Risk_Level == "重大事故隐患" && x.States != "3" && x.States != "-1" &&
|
||||
x.CheckTime > Const.DtmarkTime
|
||||
select x).Count();
|
||||
return result;
|
||||
|
|
Loading…
Reference in New Issue