|
|
@ -251,13 +251,14 @@ public class CustomerAgencyController { |
|
|
|
|
|
|
|
/** |
|
|
|
* @Description 对外接口,根据customerId返回Element UI中Tree结构的agency列表 |
|
|
|
* @param customerId |
|
|
|
* @param map |
|
|
|
* @return com.epmet.commons.tools.utils.Result |
|
|
|
* @Author liushaowen |
|
|
|
* @Date 2020/11/6 13:51 |
|
|
|
*/ |
|
|
|
@PostMapping("getagencyelementtreelist") |
|
|
|
public Result<List<AgencyElementTreeResultDTO.Agency>> getAgencyElementTreeList(String customerId){ |
|
|
|
public Result<List<AgencyElementTreeResultDTO.Agency>> getAgencyElementTreeList(@RequestBody Map<String,String> map){ |
|
|
|
String customerId = map.get("customerId"); |
|
|
|
if (StringUtils.isBlank(customerId)){ |
|
|
|
throw new RenException("customerId不能为空"); |
|
|
|
} |
|
|
@ -265,13 +266,14 @@ public class CustomerAgencyController { |
|
|
|
} |
|
|
|
/** |
|
|
|
* @Description 对外接口,根据customerId返回Element UI中Tree结构的agency keys |
|
|
|
* @param customerId |
|
|
|
* @param map |
|
|
|
* @return com.epmet.commons.tools.utils.Result |
|
|
|
* @Author liushaowen |
|
|
|
* @Date 2020/11/6 13:51 |
|
|
|
*/ |
|
|
|
@PostMapping("getagencyelementtreekeys") |
|
|
|
public Result<Set<String>> getAgencyElementTreeKeys(String customerId){ |
|
|
|
public Result<Set<String>> getAgencyElementTreeKeys(@RequestBody Map<String,String> map){ |
|
|
|
String customerId = map.get("customerId"); |
|
|
|
if (StringUtils.isBlank(customerId)){ |
|
|
|
throw new RenException("customerId不能为空"); |
|
|
|
} |
|
|
|