|
|
@ -184,7 +184,14 @@ public class TestRecordSampledataExpandServiceImpl extends ServiceImpl<TestRecor |
|
|
|
testRecordSampleData.setIsDetected(1); // 默认检出
|
|
|
|
testRecordSampleData.setIsDetected(1); // 默认检出
|
|
|
|
value.forEach(sampleDataExpand -> { |
|
|
|
value.forEach(sampleDataExpand -> { |
|
|
|
calculateIonAbundanceRatio(basePeakData, testRecord, finalStdDataExpandList, sampleDataExpand); |
|
|
|
calculateIonAbundanceRatio(basePeakData, testRecord, finalStdDataExpandList, sampleDataExpand); |
|
|
|
if (!isSTDSample && testRecordSampleData.getIsDetected().equals(1) && testRecordSampleData.getRtTimeWithinError().equals(TestRecordSampleDataConstant.NO) && sampleDataExpand.getIonAbundanceRatioWithinError().equals(TestRecordSampleDataConstant.NO)) { |
|
|
|
if ( |
|
|
|
|
|
|
|
!isSTDSample && |
|
|
|
|
|
|
|
testRecordSampleData.getIsDetected().equals(1) && |
|
|
|
|
|
|
|
( |
|
|
|
|
|
|
|
testRecordSampleData.getRtTimeWithinError().equals(TestRecordSampleDataConstant.NO) |
|
|
|
|
|
|
|
|| sampleDataExpand.getIonAbundanceRatioWithinError().equals(TestRecordSampleDataConstant.NO) |
|
|
|
|
|
|
|
) |
|
|
|
|
|
|
|
) { |
|
|
|
testRecordSampleData.setIsDetected(0); |
|
|
|
testRecordSampleData.setIsDetected(0); |
|
|
|
} |
|
|
|
} |
|
|
|
// calculateAfterResult.add(sampleDataExpand);
|
|
|
|
// calculateAfterResult.add(sampleDataExpand);
|
|
|
|