Commit be0f3475 by lijingjing

质量判定没有累计杂质问题;

parent 03614a3c
......@@ -1212,7 +1212,7 @@ public class EntrustSampleItemServiceImpl extends BaseServiceImpl<EntrustSampleI
boolean incSpecElement = otherYsList.stream().anyMatch(x -> item.getName().contains(x));
// 是组合判定标识或者稀有元素且稀有元素值大于0.01,才参与计算
if (1 == composeJudge || (isSpecStandard && incSpecElement && Double.parseDouble(testValue) >= 0.01)) {
totalDecimal.add(new BigDecimal(testValue));
totalDecimal = totalDecimal.add(new BigDecimal(testValue));
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment