修改运营方案列表bug

This commit is contained in:
shuo.wang
2024-05-08 15:33:14 +08:00
parent 990bcd33e5
commit 11a248d312

View File

@@ -141,7 +141,7 @@ public class OpeningOperationPlanImpl implements OpeningOperationPlanService {
//lineinfo 加盟商name手机号招商经理name, //lineinfo 加盟商name手机号招商经理name,
if (CollectionUtils.isEmpty(openPlanShopInfoDTOS)) { if (CollectionUtils.isEmpty(openPlanShopInfoDTOS)) {
log.error("查询运营方案列表没有数据"); log.error("查询运营方案列表没有数据");
return null; return new PageInfo<>();
} }
List<Long> lines = openPlanShopInfoDTOS.stream().map(OpenPlanShopInfoDTO::getLineId).collect(Collectors.toList()); List<Long> lines = openPlanShopInfoDTOS.stream().map(OpenPlanShopInfoDTO::getLineId).collect(Collectors.toList());
List<PlanLineDTO> lineInfos = lineInfoDAO.getLines(lines); List<PlanLineDTO> lineInfos = lineInfoDAO.getLines(lines);