2023-11-03

This commit is contained in:
李鹏飞 2023-11-03 15:17:55 +08:00
parent f6b8c580e5
commit cc801e5336
2 changed files with 2 additions and 2 deletions

Binary file not shown.

View File

@ -1354,7 +1354,7 @@ namespace BLL
public static int GetCompletedNum(string projectid)
{
var result = (from x in Funs.DB.Solution_LargerHazard
where x.ProjectId == projectid && x.States == "1" && x.IsSuperLargerHazard == false &&
where x.ProjectId == projectid && x.States != "0" && x.IsSuperLargerHazard == false &&
x.RecordTime > Const.DtmarkTime
select x).Count();
return result;
@ -1405,7 +1405,7 @@ namespace BLL
public static int GetSuperCompletedNum(string projectid)
{
var result = (from x in Funs.DB.Solution_LargerHazard
where x.ProjectId == projectid && x.States == "1" && x.IsSuperLargerHazard == true &&
where x.ProjectId == projectid && x.States != "0" && x.IsSuperLargerHazard == true &&
x.RecordTime > Const.DtmarkTime
select x).Count();
return result;