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("Spectrum");
|
||||||
path.append(StringPool.SLASH+"Xenon");
|
path.append(StringPool.SLASH+"Xenon");
|
||||||
path.append(StringPool.SLASH+"Spalax");
|
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")) {
|
if(dataType.contains("SAMPLEPHD")) {
|
||||||
path.append(StringPool.SLASH+"Samplephd");
|
path.append(StringPool.SLASH+"Samplephd");
|
||||||
|
|
|
@ -4984,9 +4984,11 @@ public class SelfStationServiceImpl implements ISelfStationService {
|
||||||
result.error500("sampleFile save failed");
|
result.error500("sampleFile save failed");
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
if (!this.OriginalDataStore(detStruct, detTmpPath, detFilePathName) ){
|
if (StrUtil.isNotBlank(detFilePathName)){
|
||||||
result.error500("detFile save failed");
|
if (!this.OriginalDataStore(detStruct, detTmpPath, detFilePathName) ){
|
||||||
return result;
|
result.error500("detFile save failed");
|
||||||
|
return result;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (StringUtils.isNotBlank(qcFilePathName)) {
|
if (StringUtils.isNotBlank(qcFilePathName)) {
|
||||||
if (!this.OriginalDataStore(qcStruct, qcTmpPath, qcFilePathName) ){
|
if (!this.OriginalDataStore(qcStruct, qcTmpPath, qcFilePathName) ){
|
||||||
|
|
Loading…
Reference in New Issue
Block a user