|
|
@ -391,6 +391,7 @@ public class AgencyServiceImpl implements AgencyService { |
|
|
|
return agencysResultDTO; |
|
|
|
} |
|
|
|
agencysResultDTO = ConvertUtils.sourceToTarget(customerAgencyDTO, AgencyDetailMulticResultDTO.class); |
|
|
|
//当前组织的客户id。
|
|
|
|
agencysResultDTO.setAgencyCustomerId(customerAgencyDTO.getCustomerId()); |
|
|
|
|
|
|
|
//2、当前登录用户所属客户,的跟级组织
|
|
|
@ -422,6 +423,7 @@ public class AgencyServiceImpl implements AgencyService { |
|
|
|
agencysResultDTO.setSubCustomerIds(crmRes.getData()); |
|
|
|
} |
|
|
|
|
|
|
|
log.info("当前组织的客户id="+agencysResultDTO.getAgencyCustomerId()+";当前登录用户所属的客户id="+formDTO.getCustomerId()); |
|
|
|
if(agencysResultDTO.getHaveSubCustomer()){ |
|
|
|
if (formDTO.getCustomerId().equals(agencysResultDTO.getAgencyCustomerId()) |
|
|
|
&& (StringUtils.isBlank(customerAgencyDTO.getPids()) |
|
|
|