beta查看RRR报告计算结果result不存在问题修改
This commit is contained in:
parent
1edb06857d
commit
67dba4c0bc
|
@ -1201,6 +1201,7 @@ public class SpectrumAnalysisServiceImpl extends AbstractLogOrReport implements
|
||||||
strBuffer.append(System.lineSeparator());
|
strBuffer.append(System.lineSeparator());
|
||||||
String netRoi = "%s%-51s%-51s%-13s";
|
String netRoi = "%s%-51s%-51s%-13s";
|
||||||
if (betaDataFile.isBProcessed()) {
|
if (betaDataFile.isBProcessed()) {
|
||||||
|
if (CollectionUtils.isNotEmpty(resultsSpectrums)) {
|
||||||
if (Objects.isNull(resultsSpectrums.get(0).getLcCts())) {
|
if (Objects.isNull(resultsSpectrums.get(0).getLcCts())) {
|
||||||
strBuffer.append(rowFormat(netRoi, StringPool.SPACE, "Roi", "Net count", StringPool.SPACE));
|
strBuffer.append(rowFormat(netRoi, StringPool.SPACE, "Roi", "Net count", StringPool.SPACE));
|
||||||
strBuffer.append(System.lineSeparator());
|
strBuffer.append(System.lineSeparator());
|
||||||
|
@ -1220,7 +1221,9 @@ public class SpectrumAnalysisServiceImpl extends AbstractLogOrReport implements
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
|
if (CollectionUtils.isNotEmpty(resultsSpectrums)) {
|
||||||
if (Objects.isNull(resultsSpectrums.get(0).getLcCts())) {
|
if (Objects.isNull(resultsSpectrums.get(0).getLcCts())) {
|
||||||
strBuffer.append(rowFormat(netRoi, StringPool.SPACE, "Roi", "Net count", StringPool.SPACE));
|
strBuffer.append(rowFormat(netRoi, StringPool.SPACE, "Roi", "Net count", StringPool.SPACE));
|
||||||
strBuffer.append(System.lineSeparator());
|
strBuffer.append(System.lineSeparator());
|
||||||
|
@ -1241,6 +1244,7 @@ public class SpectrumAnalysisServiceImpl extends AbstractLogOrReport implements
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
strBuffer.append(System.lineSeparator());
|
strBuffer.append(System.lineSeparator());
|
||||||
strBuffer.append("#CONCENTRATION AND LC PER ROI");
|
strBuffer.append("#CONCENTRATION AND LC PER ROI");
|
||||||
strBuffer.append(System.lineSeparator());
|
strBuffer.append(System.lineSeparator());
|
||||||
|
|
Loading…
Reference in New Issue
Block a user