1
0
chenendian 2 месяцев назад
Родитель
Сommit
4f326b67bf

+ 1 - 0
siwei-modules/siwei-apply/src/main/java/com/siwei/apply/service/cadastre/impl/CadastreManageServiceImpl.java

@@ -304,6 +304,7 @@ public class CadastreManageServiceImpl implements CadastreManageService {
             checkInfoResult.setUploadId(uploadFile.getId());
 
             String gdbPath = uploadFile.getUnzipPath();
+            theFileName = uploadFile.getName();//这里需要使用解压处理后的文件名称进行读取
             DataSource ds = ogr.Open(gdbPath + "/" + theFileName, 0); // 0 = 只读
             if (ds == null) {
                 log.warn("无法打开 gdb");