20250402 更新
1.修改常规毒品获取离子丰度比相对偏差的允许范围
This commit is contained in:
+12
-2
@@ -279,9 +279,19 @@ public class TestRecordSampledataExpandServiceImpl extends ServiceImpl<TestRecor
|
|||||||
.multiply(BigDecimal.valueOf(100));
|
.multiply(BigDecimal.valueOf(100));
|
||||||
sampleDataExpand.setIonAbundanceRatioError(ionAbundanceRatioError);
|
sampleDataExpand.setIonAbundanceRatioError(ionAbundanceRatioError);
|
||||||
if (isNPSCase) {
|
if (isNPSCase) {
|
||||||
sampleDataExpand.setIonAbundanceRatioWithinError(processInspectDataService.getWithinErrorText(ionAbundanceRatioError, processInspectDataService.getErrorRange(sampleDataExpand.getIonAbundanceRatio())));
|
sampleDataExpand.setIonAbundanceRatioWithinError(
|
||||||
|
processInspectDataService.getWithinErrorText(
|
||||||
|
ionAbundanceRatioError,
|
||||||
|
processInspectDataService.getErrorRange(stdDataExpand.getIonAbundanceRatio())
|
||||||
|
)
|
||||||
|
);
|
||||||
} else {
|
} else {
|
||||||
sampleDataExpand.setIonAbundanceRatioWithinError(processInspectDataService.calculateHairCaseIonAbundanceRatioWithinError(ionAbundanceRatioError.doubleValue(), stdDataExpand.getIonAbundanceRatio().doubleValue()));
|
sampleDataExpand.setIonAbundanceRatioWithinError(
|
||||||
|
processInspectDataService.calculateHairCaseIonAbundanceRatioWithinError(
|
||||||
|
ionAbundanceRatioError.doubleValue(),
|
||||||
|
stdDataExpand.getIonAbundanceRatio().doubleValue()
|
||||||
|
)
|
||||||
|
);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
log.warn("没有找到匹配的标准物质检验数据!");
|
log.warn("没有找到匹配的标准物质检验数据!");
|
||||||
|
|||||||
Reference in New Issue
Block a user