diff --git a/coolstore-partner-service/src/main/java/com/cool/store/service/impl/PointServiceImpl.java b/coolstore-partner-service/src/main/java/com/cool/store/service/impl/PointServiceImpl.java index 577f6d227..be9036f24 100644 --- a/coolstore-partner-service/src/main/java/com/cool/store/service/impl/PointServiceImpl.java +++ b/coolstore-partner-service/src/main/java/com/cool/store/service/impl/PointServiceImpl.java @@ -357,6 +357,11 @@ public class PointServiceImpl implements PointService { */ private void initUploadRentContract(PointInfoDO pointInfo) { LineInfoDO lineInfo = lineInfoDAO.getLineInfo(pointInfo.getLineId()); + ShopInfoDO updateShopInfo = new ShopInfoDO(); + updateShopInfo.setId(pointInfo.getShopId()); + updateShopInfo.setRegionId(pointInfo.getRegionId()); + updateShopInfo.setShopName(pointInfo.getPointName()); + shopInfoDAO.updateShopInfo(updateShopInfo); shopStageInfoDAO.batchUpdateShopStageStatus(pointInfo.getShopId(), Arrays.asList(ShopSubStageStatusEnum.SHOP_SUB_STAGE_STATUS_12, ShopSubStageStatusEnum.SHOP_SUB_STAGE_STATUS_20)); Map templateParam = new HashMap<>(); templateParam.put("pointName", pointInfo.getAddress()); @@ -793,6 +798,7 @@ public class PointServiceImpl implements PointService { updateShop.setId(shopId); updateShop.setShopName(pointInfo.getPointName()); updateShop.setPointId(pointId); + updateShop.setRegionId(pointInfo.getRegionId()); shopInfoDAO.updateShopInfo(updateShop); ShopSubStageStatusEnum selectStatus = ShopSubStageStatusEnum.SHOP_SUB_STAGE_STATUS_11; PointDetailInfoDO updateDetail = new PointDetailInfoDO();