This commit is contained in:
高飞 2023-10-31 18:28:09 +08:00
commit 5b2e4eb484
1 changed files with 2 additions and 2 deletions

View File

@ -648,7 +648,7 @@ namespace FineUIPro.Web.common
public static int GetCompletedNum()
{
var result = (from x in Funs.DB.Solution_LargerHazard
where x.States == "1" && x.IsSuperLargerHazard == false &&
where x.States != "0" && x.IsSuperLargerHazard == false &&
x.RecordTime > Const.DtmarkTime
select x).Count();
return result;
@ -699,7 +699,7 @@ namespace FineUIPro.Web.common
public static int GetSuperCompletedNum()
{
var result = (from x in Funs.DB.Solution_LargerHazard
where x.States == "1" && x.IsSuperLargerHazard == true &&
where x.States != "0" && x.IsSuperLargerHazard == true &&
x.RecordTime > Const.DtmarkTime
select x).Count();
return result;