管道基础大数据平台系统开发-【后端】-Server
1
13693261870
2023-01-30 8cdd6aa032dd72c5101099b7e8f156394e90b83c
src/main/java/com/lf/server/service/data/UploadService.java
@@ -127,7 +127,6 @@
        MetaEntity old = metaService.selectByGuid(mf.getGuid(), tabName);
        if (old != null) {
            mf.setPath(old.getPath());
            mf.setEntity(old.getLayer());
            mf.setTab(old.getTab());
            mf.setRows(old.getRows());
@@ -204,8 +203,8 @@
                        String path = findPathByGuid(list, mf);
                        if (null != path) {
                            mf.setPath(path);
                            continue;
                        }
                        continue;
                    }
                    gdbList.add(mf.getPath());
@@ -303,6 +302,7 @@
        MetaEntity old = metaService.selectByGuid(mf.getGuid(), null);
        if (null != old) {
            mf.setPath(old.getPath());
            FileHelper.deleteFiles(file);
            return;
        }
@@ -421,10 +421,6 @@
                MetaEntity old = metaService.selectByGuid(mf.getGuid(), null);
                if (null == old) {
                    xlsList.add(mf);
                } else {
                    mf.setTab(old.getTab());
                    mf.setEntity(old.getLayer());
                    mf.setRows(old.getRows());
                }
            }
        }