fix initShop

This commit is contained in:
shuo.wang
2025-01-21 16:20:08 +08:00
parent 17e6c7afa4
commit 780a31323a

View File

@@ -150,7 +150,7 @@ public class IntentAgreementServiceImpl extends LineFlowService implements Inten
updateLine.setUpdateUserId(userId);
lineInfoDAO.updateLineInfo(updateLine);
//初始化店铺
shopService.initShop(lineInfo);
shopService.initShop(updateLine);
// 批量获取线索下门店的选址未开始的数据
List<ShopStageInfoDO> stages = shopStageInfoDAO.getByLineIdAndSubStage(lineInfo.getId());
List<Long> shopIds = stages.stream().map(ShopStageInfoDO::getShopId).collect(Collectors.toList());
@@ -219,7 +219,7 @@ public class IntentAgreementServiceImpl extends LineFlowService implements Inten
updateLine.setUpdateUserId(user.getUserId());
lineInfoDAO.updateLineInfo(updateLine);
//初始化店铺
shopService.initShop(lineInfo);
shopService.initShop(updateLine);
// 批量获取线索下门店的选址未开始的数据
List<ShopStageInfoDO> stages = shopStageInfoDAO.getByLineIdAndSubStage(lineInfo.getId());
List<Long> shopIds = stages.stream().map(ShopStageInfoDO::getShopId).collect(Collectors.toList());