|
|
@ -195,7 +195,7 @@ public class AgencyServiceImpl implements AgencyService { |
|
|
|
if (null == agencyAreaInfo){ |
|
|
|
return new CompartmentResultDTO(); |
|
|
|
} |
|
|
|
if (agencyAreaInfo.getLevel().equals(ScreenConstant.COMMUNITY)){ |
|
|
|
if (agencyAreaInfo.getAgencyLevel().equals(ScreenConstant.COMMUNITY)){ |
|
|
|
// 当level为"community"时,查询screen_customer_grid表
|
|
|
|
List<AgencyDistributionResultDTO> agencyDistributionResultDTOS = screenCustomerGridDao.selectSubDistribution(compartmentFormDTO.getAgencyId()); |
|
|
|
agencyAreaInfo.setAgencyDistribution(agencyDistributionResultDTOS); |
|
|
@ -213,7 +213,7 @@ public class AgencyServiceImpl implements AgencyService { |
|
|
|
if (null == agencyAreaInfo){ |
|
|
|
return new CompartmentResultDTO(); |
|
|
|
} |
|
|
|
if (agencyAreaInfo.getLevel().equals(ScreenConstant.COMMUNITY)){ |
|
|
|
if (agencyAreaInfo.getAgencyLevel().equals(ScreenConstant.COMMUNITY)){ |
|
|
|
// 当level为"community"时,查询screen_customer_grid表
|
|
|
|
List<AgencyDistributionResultDTO> agencyDistributionResultDTOS = screenCustomerGridDao.selectSubDistribution(compartmentFormDTO.getAgencyId()); |
|
|
|
agencyAreaInfo.setAgencyDistribution(agencyDistributionResultDTOS); |
|
|
|