|
|
|
@@ -102,11 +102,12 @@ public class WxShopController extends BaseController { |
|
|
|
suq.setSearchKey(wxShop.getSearchKey()); |
|
|
|
List<Long> shopIdList = wxShopService.getUserShopIds(suq); |
|
|
|
if (null != shopIdList && shopIdList.size() <= 0 ) { |
|
|
|
wxShop.setId(-1L); |
|
|
|
wxShop.setSearchKeyShopNumber(wxShop.getSearchKey()); |
|
|
|
}else { |
|
|
|
wxShop.setOrShopIds(shopIdList); |
|
|
|
wxShop.setSearchKeyShopIds(shopIdList); |
|
|
|
wxShop.setSearchKeyShopNumber(wxShop.getSearchKey()); |
|
|
|
} |
|
|
|
wxShop.setShopNumber(wxShop.getSearchKey()); |
|
|
|
|
|
|
|
} |
|
|
|
final PageInfo<WxShop> page = wxShopService.listAsPage(wxShop, pageNum, pageSize); |
|
|
|
return new ResultData(page); |
|
|
|
|