forked from gzzfw/backEnd/gz-dyh

zhouxiantao
2024-09-03 5dedf6c30f0864ae7c4fd3c47c74b057f2360156
dyh-service/dyh-sys/src/main/java/cn/huge/module/file/service/FileRelateService.java
@@ -155,6 +155,7 @@
            FileRelate fileRelate = new FileRelate();
            fileRelate.setId(utilsClient.getNewTimeId());
            fileRelate.setFileId(fileInfo.getId());
            fileRelate.setMainId(fileInfo.getMainId());
            fileRelate.setOwnerId(fileInfo.getOwnerId());
            fileRelate.setOwnerCat(fileInfo.getOwnerCat());
            fileRelate.setOwnerType(fileInfo.getOwnerType());
@@ -167,7 +168,7 @@
            fileRelate.setUpdateTime(nowDate);
            mapper.insert(fileRelate);
        } catch (Exception e) {
            log.error("service方法[FileRelateService.uploadFile]调用异常:"+e, e);
            log.error("service方法[FileRelateService.uploadFile]调用失败,异常信息:"+e, e);
            throw new ServiceException("FileRelateService.uploadFile", e);
        }
    }