|
|
|
@ -133,6 +133,9 @@ public class ArticleSerivceImpl implements ArticleSerive {
|
|
|
|
|
Integer pageNum = jsonObject.getInteger("pageNum") == null ? 1 : jsonObject.getInteger("pageNum");
|
|
|
|
|
Integer pageSize = jsonObject.getInteger("pageSize") == null ? 5 : jsonObject.getInteger("pageSize");
|
|
|
|
|
String param = jsonObject.getString("param");
|
|
|
|
|
if (StringUtils.isNotEmpty(param)){
|
|
|
|
|
param = "%" + param + "%" ;
|
|
|
|
|
}
|
|
|
|
|
Long firstCategory = jsonObject.getLong("firstCategory");
|
|
|
|
|
Long secondCategory = jsonObject.getLong("secondCategory");
|
|
|
|
|
List<ArticleVo> CategoryList = articleMapper.searchArticleListByCondition(param,firstCategory,secondCategory);
|
|
|
|
|