beta提前加载好的数据二次载入时缺少文件名称返回值问题修改
beta查看RRR报告时缺少数组判断问题修改
This commit is contained in:
parent
132a1e18c1
commit
a36a101a08
|
@ -482,12 +482,16 @@ public class SpectrumAnalysisServiceImpl extends AbstractLogOrReport implements
|
||||||
} else {
|
} else {
|
||||||
xeResultsSpectrumList = betaDataFile.getXeResultsSpectrumList();
|
xeResultsSpectrumList = betaDataFile.getXeResultsSpectrumList();
|
||||||
sampleMap = loadData("sample", betaDataFile);
|
sampleMap = loadData("sample", betaDataFile);
|
||||||
|
sampleMap.put("fileName", betaDataFile.getSampleFileName());
|
||||||
resultMap.put("sample",sampleMap);
|
resultMap.put("sample",sampleMap);
|
||||||
gasBgMap = loadData("gas", betaDataFile);
|
gasBgMap = loadData("gas", betaDataFile);
|
||||||
|
gasBgMap.put("fileName", betaDataFile.getGasFileName());
|
||||||
resultMap.put("gasBg",gasBgMap);
|
resultMap.put("gasBg",gasBgMap);
|
||||||
detBgMap = loadData("det", betaDataFile);
|
detBgMap = loadData("det", betaDataFile);
|
||||||
|
detBgMap.put("fileName", betaDataFile.getDetFileName());
|
||||||
resultMap.put("detBg",detBgMap);
|
resultMap.put("detBg",detBgMap);
|
||||||
qcMap = loadData("qc", betaDataFile);
|
qcMap = loadData("qc", betaDataFile);
|
||||||
|
qcMap.put("fileName", betaDataFile.getQcFileName());
|
||||||
resultMap.put("qc",qcMap);
|
resultMap.put("qc",qcMap);
|
||||||
}
|
}
|
||||||
//分析状态颜色
|
//分析状态颜色
|
||||||
|
@ -608,12 +612,16 @@ public class SpectrumAnalysisServiceImpl extends AbstractLogOrReport implements
|
||||||
} else {
|
} else {
|
||||||
xeResultsSpectrumList = betaDataFile.getXeResultsSpectrumList();
|
xeResultsSpectrumList = betaDataFile.getXeResultsSpectrumList();
|
||||||
sampleMap = loadData("sample", betaDataFile);
|
sampleMap = loadData("sample", betaDataFile);
|
||||||
|
sampleMap.put("fileName", betaDataFile.getSampleFileName());
|
||||||
resultMap.put("sample",sampleMap);
|
resultMap.put("sample",sampleMap);
|
||||||
gasBgMap = loadData("gas", betaDataFile);
|
gasBgMap = loadData("gas", betaDataFile);
|
||||||
|
gasBgMap.put("fileName", betaDataFile.getGasFileName());
|
||||||
resultMap.put("gasBg",gasBgMap);
|
resultMap.put("gasBg",gasBgMap);
|
||||||
detBgMap = loadData("det", betaDataFile);
|
detBgMap = loadData("det", betaDataFile);
|
||||||
|
detBgMap.put("fileName", betaDataFile.getDetFileName());
|
||||||
resultMap.put("detBg",detBgMap);
|
resultMap.put("detBg",detBgMap);
|
||||||
qcMap = loadData("qc", betaDataFile);
|
qcMap = loadData("qc", betaDataFile);
|
||||||
|
qcMap.put("fileName", betaDataFile.getQcFileName());
|
||||||
resultMap.put("qc",qcMap);
|
resultMap.put("qc",qcMap);
|
||||||
}
|
}
|
||||||
phdFileUtil.getLightColor(sampleMap,gasBgMap,detBgMap,qcMap);
|
phdFileUtil.getLightColor(sampleMap,gasBgMap,detBgMap,qcMap);
|
||||||
|
@ -1221,6 +1229,9 @@ public class SpectrumAnalysisServiceImpl extends AbstractLogOrReport implements
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
strBuffer.append(rowFormat(netRoi, StringPool.SPACE, "Roi", "Net count", "LC"));
|
||||||
|
strBuffer.append(System.lineSeparator());
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (CollectionUtils.isNotEmpty(resultsSpectrums)) {
|
if (CollectionUtils.isNotEmpty(resultsSpectrums)) {
|
||||||
|
@ -1243,6 +1254,9 @@ public class SpectrumAnalysisServiceImpl extends AbstractLogOrReport implements
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
strBuffer.append(rowFormat(netRoi, StringPool.SPACE, "Roi", "Net count", "LC"));
|
||||||
|
strBuffer.append(System.lineSeparator());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
strBuffer.append(System.lineSeparator());
|
strBuffer.append(System.lineSeparator());
|
||||||
|
|
Loading…
Reference in New Issue
Block a user