|
@@ -39,13 +39,16 @@ public class ArticleManagementServiceImpl implements IArticleManagementService {
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
- public Page<ArticleManagement> list(String articleTitle,String articleIntroduction,String coverImage,String classification,String articleTemplate,String searchKeywords,String language,String status,Date gmtCreate,Date gmtUpdate,Long deleteFlag, Integer page, Integer limit)throws ServiceException {
|
|
|
+ public Page<ArticleManagement> list(String articleTitle,String articleIntroduction,String articleClassify,String coverImage,String classification,String articleTemplate,String searchKeywords,String language,String status,Date gmtCreate,Date gmtUpdate,Long deleteFlag, Integer page, Integer limit)throws ServiceException {
|
|
|
Wrapper<ArticleManagement> wrapper = new EntityWrapper<ArticleManagement>();
|
|
|
if (!StringUtils.isEmpty(articleTitle)) {
|
|
|
wrapper.like("article_title", articleTitle);
|
|
|
}
|
|
|
if (!StringUtils.isEmpty(articleIntroduction)) {
|
|
|
wrapper.eq("article_introduction", articleIntroduction);
|
|
|
+ }
|
|
|
+ if (!StringUtils.isEmpty(articleClassify)) {
|
|
|
+ wrapper.eq("article_classify", articleClassify);
|
|
|
}
|
|
|
if (!StringUtils.isEmpty(coverImage)) {
|
|
|
wrapper.eq("cover_image", coverImage);
|