人工交互分析beta部分初始化数据时数据库查询的属于因为缓存已经存在的情况导致数据被重置,存储数据库时下标越界问题修改
This commit is contained in:
parent
2effe67e54
commit
aa4c2b93d8
|
@ -605,6 +605,13 @@ public class SpectrumAnalysisServiceImpl extends AbstractLogOrReport implements
|
|||
}
|
||||
//更新缓存数据对应的缓存数据
|
||||
phdFileUtil.createBgCalPara(betaDataFile, gammaCalibrationSpectrumList, betaCalibrationSpectrumList, gammaCalibrationPairsList, betaCalibrationPairsList);
|
||||
//第一次加载时初始化数据库数据
|
||||
betaDataFile.setGammaCalibrationSpectrumEList(gammaCalibrationSpectrumList);
|
||||
betaDataFile.setBetaCalibrationSpectrumEList(betaCalibrationSpectrumList);
|
||||
betaDataFile.setRoiChannelsSpectrumList(roiChannelsSpectrumList);
|
||||
betaDataFile.setRoiResultsSpectrumList(roiResultsSpectrumList);
|
||||
betaDataFile.setGammaCalibrationPairsList(gammaCalibrationPairsList);
|
||||
betaDataFile.setBetaCalibrationPairsList(betaCalibrationPairsList);
|
||||
} else {
|
||||
xeResultsSpectrumList = betaDataFile.getXeResultsSpectrumList();
|
||||
sampleMap = loadData("sample", betaDataFile);
|
||||
|
@ -639,12 +646,6 @@ public class SpectrumAnalysisServiceImpl extends AbstractLogOrReport implements
|
|||
xeData.setConcErr(Double.valueOf(NumberFormatUtil.numberSixLen(String.valueOf(xeData.getConcErr()))));
|
||||
}
|
||||
}
|
||||
betaDataFile.setGammaCalibrationSpectrumEList(gammaCalibrationSpectrumList);
|
||||
betaDataFile.setBetaCalibrationSpectrumEList(betaCalibrationSpectrumList);
|
||||
betaDataFile.setRoiChannelsSpectrumList(roiChannelsSpectrumList);
|
||||
betaDataFile.setRoiResultsSpectrumList(roiResultsSpectrumList);
|
||||
betaDataFile.setGammaCalibrationPairsList(gammaCalibrationPairsList);
|
||||
betaDataFile.setBetaCalibrationPairsList(betaCalibrationPairsList);
|
||||
betaDataFile.setXeResultsSpectrumList(xeResultsSpectrumList);
|
||||
betaDataFile.setSaveAnalysisResult(true);
|
||||
resultMap.put("XeData", phdFileUtil.viewXeData(xeResultsSpectrumList));
|
||||
|
|
Loading…
Reference in New Issue
Block a user