|
@@ -107,7 +107,7 @@ public class BimFaceServiceImpl extends ServiceImpl<BimFaceMapper, BimFaceEntity
|
|
|
|
|
|
@Override
|
|
@Override
|
|
public BimFaceEntity uploadFile(BimUploadDTO bimUploadDTO) throws IOException {
|
|
public BimFaceEntity uploadFile(BimUploadDTO bimUploadDTO) throws IOException {
|
|
- if (StrUtil.isEmpty(bimUploadDTO.getFileUrl())||StrUtil.isEmpty(bimUploadDTO.getFileName())||!bimUploadDTO.getFileName().endsWith("ifc")){
|
|
|
|
|
|
+ if (StrUtil.isEmpty(bimUploadDTO.getFileUrl())||StrUtil.isEmpty(bimUploadDTO.getFileName())){
|
|
throw new ServiceException(HttpStatus.e3100);
|
|
throw new ServiceException(HttpStatus.e3100);
|
|
}
|
|
}
|
|
|
|
|