Merge remote-tracking branch 'origin/cc_partner_init' into cc_partner_init

This commit is contained in:
zhangchenbiao
2024-03-29 13:38:12 +08:00
4 changed files with 54 additions and 2 deletions

View File

@@ -27,6 +27,12 @@ public class RegionController {
@Autowired
private RegionService regionService;
@ApiOperation("根据意向区域找大区id")
@GetMapping("/getBigRegionIdByAreaId")
public ResponseResult<Long> getBigRegionIdByAreaId(@RequestParam(value = "wantShopAreaId", required = true) Long wantShopAreaId) {
return ResponseResult.success(regionService.getBigRegionIdByAreaId(wantShopAreaId));
}
@ApiOperation("根据三方区域类型获取区域列表 0-根 1=大区 2=战区 3=小区(督导区 4=门店")
@GetMapping("/listByThirdRegionType")
public ResponseResult<List<RegionDO>> listByThirdRegionType(@RequestParam(value = "parentId", required = false) Long parentId,