liuxm
2024-05-21 a55b77017e8763d0fe044a30b39f37dc9ebb9dbb
pms-parent/pms-web-platform/src/main/java/com/dy/pmsPlatform/product/ProductSv.java
@@ -166,8 +166,12 @@
                     Stream.concat(pro.processDocuments.stream(), pro.materials.stream())
             )
             .forEach(doc -> {
                 String webUrl = getFilePathWithWebUrl(doc.fileId);
                 doc.webUrl = webUrl;
                 OthFile file = othFileMapper.selectByPrimaryKey(doc.fileId);
                 FileRestVo fileRestVo = fileOperate.parseHashcode(fmUrl, file.hash);
                 doc.webUrl = fileRestVo.fileWebUrl + file.filePath;
                 doc.orgName = file.orgName;
                 doc.extName = file.extName;
             });
        }
        return pro;