|
|
@ -704,9 +704,12 @@ public class ArticleServiceImpl extends BaseServiceImpl<ArticleDao, ArticleEntit |
|
|
|
**/ |
|
|
|
@Override |
|
|
|
public List<ArticleLatestResultDTO> getLatestArticleList(CommonArticleListFormDTO commonArticleListFormDTO) { |
|
|
|
return baseDao.selectLatestArticleMsg(commonArticleListFormDTO.getGridId(),commonArticleListFormDTO.getTagName(),commonArticleListFormDTO.getExcludeTagName(), |
|
|
|
return baseDao.selectLatestArticleMsg(commonArticleListFormDTO.getGridId(), |
|
|
|
commonArticleListFormDTO.getTagName(), |
|
|
|
commonArticleListFormDTO.getExcludeTagName(), |
|
|
|
null == commonArticleListFormDTO.getNum() || commonArticleListFormDTO.getNum() <= NumConstant.ZERO ? |
|
|
|
NumConstant.FIVE : commonArticleListFormDTO.getNum()); |
|
|
|
NumConstant.FIVE : commonArticleListFormDTO.getNum(), |
|
|
|
commonArticleListFormDTO.getIsTop()); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|