人工交互分析beta部分saveToDB接口数据推送到redis缺失sampleId问题修改

This commit is contained in:
qiaoqinzheng 2023-12-08 19:00:50 +08:00
parent ebf432cf9c
commit 4b410acb36

View File

@ -3766,6 +3766,7 @@ public class SpectrumAnalysisServiceImpl extends AbstractLogOrReport implements
}else {//如果没有分析过就新增--GARDS_ANALYSES
spectrumAnalysisMapper.insertGardsAnalyses(gardsAnalyses);
}
betaDataFile.setSampleId(String.valueOf(sampleId));
//查询analysisId根据sampleId 分析员名称--GARDS_ANALYSES
GardsAnalysesSpectrum analysis = spectrumAnalysisMapper.getAnalysis("RNMAN.GARDS_ANALYSES", sampleId, userName);
Integer idAnalysis = analysis.getIdAnalysis();