|
@ -902,6 +902,11 @@ public class AgencyServiceImpl implements AgencyService { |
|
|
return NodeTreeUtils.build(list); |
|
|
return NodeTreeUtils.build(list); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
|
public List<AgencyResultDTO> getAreaSubAgency(String areaCode) { |
|
|
|
|
|
return customerAgencyDao.getAreaSubAgency(areaCode); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
private CustomerAgencyEntity constructInsertEntity(AddAgencyV2FormDTO formDTO, CustomerAgencyDTO parent) { |
|
|
private CustomerAgencyEntity constructInsertEntity(AddAgencyV2FormDTO formDTO, CustomerAgencyDTO parent) { |
|
|
CustomerAgencyEntity insertEntity = ConvertUtils.sourceToTarget(formDTO, CustomerAgencyEntity.class); |
|
|
CustomerAgencyEntity insertEntity = ConvertUtils.sourceToTarget(formDTO, CustomerAgencyEntity.class); |
|
|
insertEntity.setOrganizationName(formDTO.getAgencyName()); |
|
|
insertEntity.setOrganizationName(formDTO.getAgencyName()); |
|
|