|
@@ -181,6 +181,9 @@ public class CommonUploadServiceImpl extends ServiceImpl<ICommonUploadMapper, Co
|
|
}
|
|
}
|
|
|
|
|
|
Integer status = StringUtils.isNotBlank(url) ?1:-1;
|
|
Integer status = StringUtils.isNotBlank(url) ?1:-1;
|
|
|
|
+ if("osgb".equals(modelFileFormat)){
|
|
|
|
+ status =0;
|
|
|
|
+ }
|
|
url = StringUtils.isNotBlank(url) ?ossUrlPrefix + url:null;
|
|
url = StringUtils.isNotBlank(url) ?ossUrlPrefix + url:null;
|
|
sourcePath = StringUtils.isNotBlank(sourcePath) ?ossUrlPrefix + sourcePath:null;
|
|
sourcePath = StringUtils.isNotBlank(sourcePath) ?ossUrlPrefix + sourcePath:null;
|
|
CommonUpload commonUpload = commonUploadService.add(oldName,url, String.valueOf(fileSize),
|
|
CommonUpload commonUpload = commonUploadService.add(oldName,url, String.valueOf(fileSize),
|