|
@@ -143,6 +143,11 @@ public class DocumentAuthServiceImpl implements DocumentAuthService {
|
|
|
ossArchive.setMainImage(ImageUtil.getImageURL("product", ossArchive.getMainImage(), 0, domain));
|
|
|
}
|
|
|
List<OssArchivePdf> pdfList = documentAuthDao.findOssArchivePdf(ossArchive.getId());
|
|
|
+ if (pdfList != null && pdfList.size() > 0) {
|
|
|
+ ossArchive.setIsShowDowns(true);
|
|
|
+ } else {
|
|
|
+ ossArchive.setIsShowDowns(false);
|
|
|
+ }
|
|
|
ossArchive.setPdfList(pdfList);
|
|
|
}
|
|
|
pageInfo = new PageInfo<>(ossArchiveList);
|