fix 开店详情增加字段

This commit is contained in:
shuo.wang
2025-01-15 15:12:51 +08:00
parent fb07cdabcd
commit c266ec0253
2 changed files with 5 additions and 1 deletions

View File

@@ -58,8 +58,10 @@ public class BranchShopDetailResponse {
@ApiModelProperty("意向开店区域")
private String wantRegionName;
@ApiModelProperty("意向开店区域id")
@ApiModelProperty("意向开店区域id")
private Long wantRegionId;
@ApiModelProperty("意向开店区域省id")
private Long wantRegionParentId;
@ApiModelProperty("门店状态:0.跟进中 1.已完成 2.已放弃")
private Integer shopStatus;

View File

@@ -278,6 +278,7 @@ public class ShopServiceImpl implements ShopService {
List<ScheduleDTO> shopContractActualCompletionTime = shopStageInfoDAO.getScheduleList(Collections.singletonList(shopId));
RegionNode shopRegion = regionMapper.getRegionByRegionId(shopInfo.getRegionId().toString());
String wantShopArea = hyOpenAreaInfoDAO.selectNameMapById(shopInfo.getWantShopAreaId());
HyOpenAreaInfoDO hyOpenAreaInfoDO = hyOpenAreaInfoDAO.selectById(shopInfo.getWantShopAreaId());
BranchShopDetailResponse response = new BranchShopDetailResponse();
response.setUsername(lineInfo.getUsername());
response.setMobile(lineInfo.getMobile());
@@ -299,6 +300,7 @@ public class ShopServiceImpl implements ShopService {
response.setWantRegionId(shopInfo.getWantShopAreaId());
response.setRegionName(shopRegion.getName());
response.setWantRegionName(wantShopArea);
response.setWantRegionParentId(hyOpenAreaInfoDO.getParentId());
return response;
}