管道基础大数据平台系统开发-【后端】-Server
1
13693261870
2023-04-18 92fb8de80f917af289237568e1782cf03a18bc7c
src/main/java/com/lf/server/service/data/UploadService.java
@@ -93,7 +93,7 @@
            MetaEntity old = metaService.selectByGuid(mf.getGuid(), null);
            if (null != old) {
                mf.setMsg("已入库");
                mf.setMsg("已存在");
            }
        }
    }
@@ -242,7 +242,7 @@
        MetaEntity old = metaService.selectByGuid(mf.getGuid(), tabName);
        if (null != old) {
            mf.setMsg("已入库");
            mf.setMsg("已存在");
            return;
        }
@@ -303,6 +303,9 @@
                case StaticData.MPT:
                    copyMultiFile(mf, StaticData.MPT_EXT);
                    break;
                case StaticData.JPG:
                    copyMultiFile(mf, StaticData.JPG_EXT);
                    break;
                case StaticData.IMG:
                    copyMultiFile(mf, StaticData.IMG_EXT);
                    break;
@@ -346,7 +349,7 @@
        MetaEntity old = metaService.selectByGuid(mf.getGuid(), null);
        if (null != old) {
            mf.setMsg("已入库");
            mf.setMsg("已存在");
            file.delete();
            return 0;
        }
@@ -415,7 +418,7 @@
        MetaEntity old = metaService.selectByGuid(mf.getGuid(), null);
        if (null != old) {
            mf.setMsg("已入库");
            mf.setMsg("已存在");
            FileHelper.deleteFiles(file);
            return;
        }