|
@ -75,7 +75,7 @@ public class BatchScoreCalculator { |
|
|
*/ |
|
|
*/ |
|
|
public BigDecimal getFinalSampleValue(Object realValue, BigDecimal threshold) { |
|
|
public BigDecimal getFinalSampleValue(Object realValue, BigDecimal threshold) { |
|
|
BigDecimal bdRealValue = new BigDecimal(realValue.toString()); |
|
|
BigDecimal bdRealValue = new BigDecimal(realValue.toString()); |
|
|
if (threshold.equals(-1)) { |
|
|
if (threshold.compareTo(new BigDecimal(-1)) == 0) { |
|
|
// -1表示不使用阈值
|
|
|
// -1表示不使用阈值
|
|
|
return bdRealValue; |
|
|
return bdRealValue; |
|
|
} |
|
|
} |
|
|