数据库加载增加判断analysisId条件
This commit is contained in:
parent
071e9690c6
commit
c62b55913a
|
@ -77,6 +77,7 @@ public class SelfStationServiceImpl implements ISelfStationService {
|
|||
analysisID = spectrumAnalysisMapper.getAnalysisID(dbName, sampleId, analyst);
|
||||
}
|
||||
try {
|
||||
if (Objects.nonNull(analysisID)) {
|
||||
//查询数据库文件信息
|
||||
SpectrumFileRecord dbSpectrumFilePath = spectrumAnalysisMapper.getDBSpectrumFilePath(dbName, sampleId, analysisID);
|
||||
//判断数据库分析结果基础信息是否为空
|
||||
|
@ -145,6 +146,7 @@ public class SelfStationServiceImpl implements ISelfStationService {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
} catch (Exception e) {
|
||||
|
||||
}
|
||||
|
|
|
@ -423,6 +423,7 @@ public class SpectrumAnalysisServiceImpl extends AbstractLogOrReport implements
|
|||
File detTmp = null;
|
||||
File qcTmp = null;
|
||||
try {
|
||||
if (Objects.nonNull(analysisID)) {
|
||||
//查询数据库文件信息
|
||||
SpectrumFileRecord dbSpectrumFilePath = spectrumAnalysisMapper.getDBSpectrumFilePath(dbName, sampleId, analysisID);
|
||||
if (Objects.nonNull(dbSpectrumFilePath)) {
|
||||
|
@ -596,6 +597,7 @@ public class SpectrumAnalysisServiceImpl extends AbstractLogOrReport implements
|
|||
} else {
|
||||
resultMap.clear();
|
||||
}
|
||||
}
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user