|
|
@ -505,4 +505,19 @@ public class AgencyController { |
|
|
|
List<AgencyAddressBookTreeResultDTO> dto = agencyService.getAddressTree(name, customerId); |
|
|
|
return new Result<List<AgencyAddressBookTreeResultDTO>>().ok(dto); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 获取区域编码下级的所有客户信息 |
|
|
|
* |
|
|
|
* @param areaCode |
|
|
|
* @return com.epmet.commons.tools.utils.Result<java.util.List<com.epmet.dto.result.AgencyResultDTO>> |
|
|
|
* @author zhy |
|
|
|
* @date 2022/7/7 10:12 |
|
|
|
*/ |
|
|
|
@GetMapping("/areasubagency/{areaCode}") |
|
|
|
public Result<List<AgencyResultDTO>> getAreaSubAgency(@PathVariable String areaCode) { |
|
|
|
List<AgencyResultDTO> dto = agencyService.getAreaSubAgency(areaCode); |
|
|
|
return new Result<List<AgencyResultDTO>>().ok(dto); |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|