|
|
|
@@ -35,6 +35,7 @@ public class WxMerchantShopServiceImpl implements WxMerchantShopService { |
|
|
|
@Override |
|
|
|
public PageInfo<WxShop> queryShopList(WxMerchantShop record, Integer pageIndex, Integer pageSize) { |
|
|
|
List<WxShop> resultlist=new ArrayList<>(); |
|
|
|
PageHelper.startPage(pageIndex, pageSize); |
|
|
|
|
|
|
|
List<WxMerchantShop> merchantShops = wxMerchantShopMapper.findList(record); |
|
|
|
for(WxMerchantShop merchantShop:merchantShops){ |
|
|
|
@@ -45,7 +46,7 @@ public class WxMerchantShopServiceImpl implements WxMerchantShopService { |
|
|
|
resultlist.add(shopList.get(0)); |
|
|
|
} |
|
|
|
} |
|
|
|
PageHelper.startPage(pageIndex, pageSize); |
|
|
|
|
|
|
|
PageInfo<WxShop> pageInfo = new PageInfo<>(resultlist); |
|
|
|
return pageInfo; |
|
|
|
} |
|
|
|
|