liuxm
2024-05-23 1d908e629d7a1750eebaa849e944be08ba7f5876
pms-parent/pms-web-platform/src/main/java/com/dy/pmsPlatform/product/ProductSv.java
@@ -119,6 +119,7 @@
            if(param.id !=null){
                paramDao.updateByPrimaryKeySelective(param);
            }else{
                param.deleted=false;
                paramDao.insert(param);
            }
        });
@@ -166,8 +167,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;