This commit is contained in:
zhangchenbiao
2024-06-04 19:42:47 +08:00
parent 66c8099c94
commit da84755d71

View File

@@ -357,6 +357,11 @@ public class PointServiceImpl implements PointService {
*/ */
private void initUploadRentContract(PointInfoDO pointInfo) { private void initUploadRentContract(PointInfoDO pointInfo) {
LineInfoDO lineInfo = lineInfoDAO.getLineInfo(pointInfo.getLineId()); 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)); shopStageInfoDAO.batchUpdateShopStageStatus(pointInfo.getShopId(), Arrays.asList(ShopSubStageStatusEnum.SHOP_SUB_STAGE_STATUS_12, ShopSubStageStatusEnum.SHOP_SUB_STAGE_STATUS_20));
Map<String, String> templateParam = new HashMap<>(); Map<String, String> templateParam = new HashMap<>();
templateParam.put("pointName", pointInfo.getAddress()); templateParam.put("pointName", pointInfo.getAddress());
@@ -793,6 +798,7 @@ public class PointServiceImpl implements PointService {
updateShop.setId(shopId); updateShop.setId(shopId);
updateShop.setShopName(pointInfo.getPointName()); updateShop.setShopName(pointInfo.getPointName());
updateShop.setPointId(pointId); updateShop.setPointId(pointId);
updateShop.setRegionId(pointInfo.getRegionId());
shopInfoDAO.updateShopInfo(updateShop); shopInfoDAO.updateShopInfo(updateShop);
ShopSubStageStatusEnum selectStatus = ShopSubStageStatusEnum.SHOP_SUB_STAGE_STATUS_11; ShopSubStageStatusEnum selectStatus = ShopSubStageStatusEnum.SHOP_SUB_STAGE_STATUS_11;
PointDetailInfoDO updateDetail = new PointDetailInfoDO(); PointDetailInfoDO updateDetail = new PointDetailInfoDO();