Commit 9f280528 by XiaHou

权星登录注册

parent 9786a181
...@@ -82,7 +82,7 @@ public class PmsProductAttributeCategoryServiceImpl implements PmsProductAttribu ...@@ -82,7 +82,7 @@ public class PmsProductAttributeCategoryServiceImpl implements PmsProductAttribu
public List<PmsProductAttributeCategory> getAttributeCategoryList(Integer page, Integer size, Long parentId){ public List<PmsProductAttributeCategory> getAttributeCategoryList(Integer page, Integer size, Long parentId){
PmsProductAttributeCategoryExample example = new PmsProductAttributeCategoryExample(); PmsProductAttributeCategoryExample example = new PmsProductAttributeCategoryExample();
PmsProductAttributeCategoryExample.Criteria criteria = example.createCriteria(); PmsProductAttributeCategoryExample.Criteria criteria = example.createCriteria();
if( (page !=null && size!=null )||(page ==0 && size!=null ) ){//如果传入分页参数 则调用pageHelper if( page !=null && size!=null ){//如果传入分页参数 则调用pageHelper
PageHelper.startPage(page,size); PageHelper.startPage(page,size);
} }
if(parentId != null){ if(parentId != null){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment