🎨 专题接口变更
This commit is contained in:
parent
745389caae
commit
5f95797faa
@ -45,6 +45,8 @@ public class PortfolioServiceImpl extends AbstractService<Portfolio> implements
|
||||
Author author = userService.selectAuthor(userDTO.getIdUser());
|
||||
list.forEach(portfolioDTO -> {
|
||||
genPortfolioAuthor(portfolioDTO,author);
|
||||
Integer articleNumber = portfolioMapper.selectCountArticleNumber(portfolioDTO.getIdPortfolio());
|
||||
portfolioDTO.setArticleNumber(articleNumber);
|
||||
});
|
||||
return list;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user