fix
This commit is contained in:
@@ -608,7 +608,7 @@ public class ShopServiceImpl implements ShopService {
|
||||
LineInfoDO lineInfoDO = lineInfoDAO.getLineInfo(lineId);
|
||||
PageInfo<MiniShopsResponse> storeListByMobile = storeService.getStoreListByMobile(lineInfoDO.getMobile(), pageNum, pageSize, storeName,request.getStoreNum());
|
||||
if (CollectionUtils.isEmpty(storeListByMobile.getList())) {
|
||||
return new PageInfo<>();
|
||||
return new PageInfo<>(new ArrayList<>());
|
||||
}
|
||||
for (MiniShopsResponse response : storeListByMobile.getList()) {
|
||||
response.setYlsCode("ZXA8_" + response.getShopCode());
|
||||
|
||||
@@ -90,9 +90,6 @@ public class StoreServiceImpl implements StoreService {
|
||||
}
|
||||
PageHelper.startPage(pageNum,pageSize);
|
||||
List<MiniShopsResponse> list = storeDao.getSubStoreByRegionIdsAndMobile(regionIds,mobile,storeName,storeNum);
|
||||
if (CollectionUtils.isEmpty(list)){
|
||||
list= new ArrayList<>();
|
||||
}
|
||||
return new PageInfo<>(list);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user