This commit is contained in:
2023-10-31 18:28:09 +08:00
+2 -2
View File
@@ -648,7 +648,7 @@ namespace FineUIPro.Web.common
public static int GetCompletedNum() public static int GetCompletedNum()
{ {
var result = (from x in Funs.DB.Solution_LargerHazard 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 x.RecordTime > Const.DtmarkTime
select x).Count(); select x).Count();
return result; return result;
@@ -699,7 +699,7 @@ namespace FineUIPro.Web.common
public static int GetSuperCompletedNum() public static int GetSuperCompletedNum()
{ {
var result = (from x in Funs.DB.Solution_LargerHazard 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 x.RecordTime > Const.DtmarkTime
select x).Count(); select x).Count();
return result; return result;