|
|
@ -570,7 +570,7 @@ public class AgencyServiceImpl implements AgencyService { |
|
|
|
public MapOrgResultDTO mapOrg(MapOrgFormDTO formDTO, TokenDto tokenDto) { |
|
|
|
MapOrgResultDTO result = new MapOrgResultDTO(); |
|
|
|
LambdaQueryWrapper<CustomerAgencyEntity> qw = new LambdaQueryWrapper(); |
|
|
|
qw.eq(CustomerAgencyEntity::getPid, NumConstant.ZERO_STR).eq(CustomerAgencyEntity::getDelFlag, NumConstant.ZERO_STR); |
|
|
|
qw.eq(CustomerAgencyEntity::getPid, NumConstant.ZERO_STR).eq(CustomerAgencyEntity::getDelFlag, NumConstant.ZERO_STR).eq(CustomerAgencyEntity::getCustomerId,tokenDto.getCustomerId()); |
|
|
|
CustomerAgencyEntity customerAgencyEntity = customerAgencyDao.selectOne(qw); |
|
|
|
if (StringUtils.isBlank(formDTO.getOrgId())){ |
|
|
|
CustomerStaffInfoCacheResult staffInfo = CustomerStaffRedis.getStaffInfo(tokenDto.getCustomerId(), tokenDto.getUserId()); |
|
|
|