|
|
@ -87,9 +87,9 @@ public class CerePlatformMembershipServiceImpl implements CerePlatformMembership |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
public Page getAll(PageParam param) throws CoBusinessException { |
|
|
|
public Page getAll(Long businessId, PageParam param) throws CoBusinessException { |
|
|
|
PageHelper.startPage(param.getPage(),param.getPageSize()); |
|
|
|
List<CerePlatformMembership> list=cerePlatformMembershipDAO.getAll(); |
|
|
|
List<CerePlatformMembership> list=cerePlatformMembershipDAO.getAll(businessId); |
|
|
|
PageInfo<CerePlatformMembership> pageInfo=new PageInfo<>(list); |
|
|
|
Page page=new Page(pageInfo.getList(),pageInfo.getTotal()); |
|
|
|
return page; |
|
|
|