forked from gzzfw/backEnd/gz-dyh

liyj
2024-08-31 be5e72f7f7b7edf047ea26c04e1fcf19052eeee8
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);
        }
    }