master
ck 5 years ago
parent 09aba2315f
commit c4e5526223

@ -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);

Loading…
Cancel
Save