This commit is contained in:
shuo.wang
2025-07-03 16:03:10 +08:00
parent c3f38b2161
commit a357730c1a
3 changed files with 47 additions and 40 deletions

View File

@@ -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());

View File

@@ -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);
}