| | |
| | | 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()); |
| | |
| | | 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); |
| | | } |
| | | } |