Browse Source

agencydetail-multic

master
yinzuomei 4 years ago
parent
commit
8bb347cba1
  1. 2
      epmet-module/data-report/data-report-server/src/main/java/com/epmet/datareport/service/evaluationindex/screen/impl/AgencyServiceImpl.java

2
epmet-module/data-report/data-report-server/src/main/java/com/epmet/datareport/service/evaluationindex/screen/impl/AgencyServiceImpl.java

@ -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())

Loading…
Cancel
Save