|
|
|
@ -127,8 +127,7 @@ public class ArticleSerivceImpl implements ArticleSerive {
|
|
|
|
|
Long firstCategory = jsonObject.getLong("firstCategory");
|
|
|
|
|
Long secondCategory = jsonObject.getLong("secondCategory");
|
|
|
|
|
Integer fileType = jsonObject.getInteger("fileType");
|
|
|
|
|
Integer state = jsonObject.getInteger("state") == null ? 1 : jsonObject.getInteger("state");
|
|
|
|
|
List<ArticleVo> CategoryList = articleMapper.getArticleListByCondition(title,firstCategory,secondCategory,fileType,state);
|
|
|
|
|
List<ArticleVo> CategoryList = articleMapper.getArticleListByCondition(title,firstCategory,secondCategory,fileType);
|
|
|
|
|
JSONObject pageJson = PageUtils.page(CategoryList,pageNum,pageSize);
|
|
|
|
|
return pageJson;
|
|
|
|
|
}
|
|
|
|
|