增加字段 所属管理区域
This commit is contained in:
@@ -521,7 +521,7 @@ public class ShopServiceImpl implements ShopService {
|
||||
return new PageInfo<>();
|
||||
}
|
||||
List<Long> regionIds = preparations.stream().map(PreparationDTO::getRegionId).collect(Collectors.toList());
|
||||
regionIds.addAll(Optional.of(preparations).orElse(Collections.emptyList()).stream().map(PreparationDTO::getManagerRegionId).collect(Collectors.toList()))
|
||||
regionIds.addAll(Optional.of(preparations).orElse(Collections.emptyList()).stream().map(PreparationDTO::getManagerRegionId).collect(Collectors.toList()));
|
||||
List<Long> wantShopAreaIds = preparations.stream().map(PreparationDTO::getWantShopAreaId).collect(Collectors.toList());
|
||||
List<String> investmentManagerIds = preparations.stream().map(PreparationDTO::getInvestmentManager).collect(Collectors.toList());
|
||||
List<Long> shopIds = preparations.stream().map(PreparationDTO::getId).collect(Collectors.toList());
|
||||
|
||||
@@ -47,7 +47,7 @@ public class RegionController {
|
||||
return ResponseResult.success(regionService.getBelongWarRegionName(regionId));
|
||||
}
|
||||
|
||||
@ApiOperation("过去下级区域")
|
||||
@ApiOperation("获取下级区域")
|
||||
@GetMapping("/getSubRegionByParentId")
|
||||
public ResponseResult<List<RegionResponse>> getSubRegionByParentId(@RequestParam(value = "regionId", required = true) Long regionId) {
|
||||
return ResponseResult.success(regionService.getSubRegionByParentId(regionId));
|
||||
|
||||
Reference in New Issue
Block a user