This commit is contained in:
2023-11-03 16:01:20 +08:00
2 changed files with 2 additions and 2 deletions
Binary file not shown.
@@ -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;