|
|
@ -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("没有找到匹配的标准物质检验数据!"); |
|
|
|