fix:自建台站saveToDB报错
This commit is contained in:
parent
219b644669
commit
b7ae380fb1
|
@ -861,6 +861,10 @@ public class PHDFileUtil extends AbstractLogOrReport {
|
|||
path.append("Spectrum");
|
||||
path.append(StringPool.SLASH+"Xenon");
|
||||
path.append(StringPool.SLASH+"Spalax");
|
||||
} else if (systemType.contains("C")) {
|
||||
path.append("Spectrum");
|
||||
path.append(StringPool.SLASH+"Xenon");
|
||||
path.append(StringPool.SLASH+"Self");
|
||||
}
|
||||
if(dataType.contains("SAMPLEPHD")) {
|
||||
path.append(StringPool.SLASH+"Samplephd");
|
||||
|
|
|
@ -4984,9 +4984,11 @@ public class SelfStationServiceImpl implements ISelfStationService {
|
|||
result.error500("sampleFile save failed");
|
||||
return result;
|
||||
}
|
||||
if (!this.OriginalDataStore(detStruct, detTmpPath, detFilePathName) ){
|
||||
result.error500("detFile save failed");
|
||||
return result;
|
||||
if (StrUtil.isNotBlank(detFilePathName)){
|
||||
if (!this.OriginalDataStore(detStruct, detTmpPath, detFilePathName) ){
|
||||
result.error500("detFile save failed");
|
||||
return result;
|
||||
}
|
||||
}
|
||||
if (StringUtils.isNotBlank(qcFilePathName)) {
|
||||
if (!this.OriginalDataStore(qcStruct, qcTmpPath, qcFilePathName) ){
|
||||
|
|
Loading…
Reference in New Issue
Block a user