泛微E10里面如何通过documentid获取到对应的文件?

提问者:Rae 问题分类:微服务
泛微E9里面有专门的API通过docid获取对应的文件,在泛微E10里面如何通过documentid获取到对应的文件?
1 个回答
自沧桑
自沧桑
在泛微E10里面使用FileDownloadService进行获取即可,示例如下:
@Autowired
private FileDownloadService fileDownloadService; // 来自 com.weaver.file.ud.api
FileData fileData = fileDownloadService.downloadFile(fileId);
InputStream stream = fileData.getInputStream(); // 文件流
泛微E10对应的文件表在fileobj表中
发布于:3天前 IP属地:四川省
我来回答