diff --git a/src/Shentun.Peis.Domain/RegisterCheckItems/RegisterCheckItemManager.cs b/src/Shentun.Peis.Domain/RegisterCheckItems/RegisterCheckItemManager.cs index 4113ee8..53a74da 100644 --- a/src/Shentun.Peis.Domain/RegisterCheckItems/RegisterCheckItemManager.cs +++ b/src/Shentun.Peis.Domain/RegisterCheckItems/RegisterCheckItemManager.cs @@ -309,8 +309,8 @@ namespace Shentun.Peis.RegisterCheckItems { return isCritical; } - if (resultDecimal >= lowReferenceRangeValue - && resultDecimal <= hegihtReferenceRangeValue) + if (resultDecimal < lowReferenceRangeValue + || resultDecimal > hegihtReferenceRangeValue) { isCritical = true; } @@ -330,7 +330,7 @@ namespace Shentun.Peis.RegisterCheckItems { return isCritical; } - if (resultDecimal >= lowReferenceRangeValue) + if (resultDecimal < lowReferenceRangeValue) { isCritical = true; } @@ -348,7 +348,7 @@ namespace Shentun.Peis.RegisterCheckItems { return isCritical; } - if (resultDecimal > lowReferenceRangeValue) + if (resultDecimal <= lowReferenceRangeValue) { isCritical = true; } @@ -366,7 +366,7 @@ namespace Shentun.Peis.RegisterCheckItems { return isCritical; } - if (resultDecimal <= hegihtReferenceRangeValue) + if (resultDecimal > hegihtReferenceRangeValue) { isCritical = true; } @@ -383,7 +383,7 @@ namespace Shentun.Peis.RegisterCheckItems { return isCritical; } - if (resultDecimal < hegihtReferenceRangeValue) + if (resultDecimal >= hegihtReferenceRangeValue) { isCritical = true; } @@ -434,8 +434,8 @@ namespace Shentun.Peis.RegisterCheckItems { return isFollow; } - if (resultDecimal >= lowReferenceRangeValue - && resultDecimal <= hegihtReferenceRangeValue) + if (resultDecimal < lowReferenceRangeValue + && resultDecimal > hegihtReferenceRangeValue) { isFollow = true; } @@ -455,7 +455,7 @@ namespace Shentun.Peis.RegisterCheckItems { return isFollow; } - if (resultDecimal >= lowReferenceRangeValue) + if (resultDecimal < lowReferenceRangeValue) { isFollow = true; } @@ -473,7 +473,7 @@ namespace Shentun.Peis.RegisterCheckItems { return isFollow; } - if (resultDecimal > lowReferenceRangeValue) + if (resultDecimal <= lowReferenceRangeValue) { isFollow = true; } @@ -491,7 +491,7 @@ namespace Shentun.Peis.RegisterCheckItems { return isFollow; } - if (resultDecimal <= hegihtReferenceRangeValue) + if (resultDecimal > hegihtReferenceRangeValue) { isFollow = true; } @@ -508,7 +508,7 @@ namespace Shentun.Peis.RegisterCheckItems { return isFollow; } - if (resultDecimal < hegihtReferenceRangeValue) + if (resultDecimal >= hegihtReferenceRangeValue) { isFollow = true; }