|
@ -19,7 +19,6 @@ package com.epmet.service.impl; |
|
|
|
|
|
|
|
|
import com.epmet.commons.mybatis.service.impl.BaseServiceImpl; |
|
|
import com.epmet.commons.mybatis.service.impl.BaseServiceImpl; |
|
|
import com.epmet.commons.tools.constant.NumConstant; |
|
|
import com.epmet.commons.tools.constant.NumConstant; |
|
|
import com.epmet.commons.tools.constant.StrConstant; |
|
|
|
|
|
import com.epmet.commons.tools.dto.result.CustomerStaffInfoCacheResult; |
|
|
import com.epmet.commons.tools.dto.result.CustomerStaffInfoCacheResult; |
|
|
import com.epmet.commons.tools.exception.RenException; |
|
|
import com.epmet.commons.tools.exception.RenException; |
|
|
import com.epmet.commons.tools.redis.common.CustomerStaffRedis; |
|
|
import com.epmet.commons.tools.redis.common.CustomerStaffRedis; |
|
@ -176,14 +175,15 @@ public class IcSocietyOrgServiceImpl extends BaseServiceImpl<IcSocietyOrgDao, Ic |
|
|
throw new RenException("工作人员所属组织信息查询异常"); |
|
|
throw new RenException("工作人员所属组织信息查询异常"); |
|
|
} |
|
|
} |
|
|
List<String> agencyIds = new ArrayList<>(); |
|
|
List<String> agencyIds = new ArrayList<>(); |
|
|
if (StringUtils.isNotBlank(staffInfoCacheResult.getAgencyPIds()) && !NumConstant.ZERO_STR.equals(staffInfoCacheResult.getAgencyPIds())) { |
|
|
//2022.01.26与社会组织列表一直,查询当前工作人员所属组织建立的社会组织
|
|
|
|
|
|
/*if (StringUtils.isNotBlank(staffInfoCacheResult.getAgencyPIds()) && !NumConstant.ZERO_STR.equals(staffInfoCacheResult.getAgencyPIds())) { |
|
|
if (staffInfoCacheResult.getAgencyPIds().contains(StrConstant.COLON)) { |
|
|
if (staffInfoCacheResult.getAgencyPIds().contains(StrConstant.COLON)) { |
|
|
agencyIds.addAll(Arrays.asList(staffInfoCacheResult.getAgencyPIds().split(StrConstant.COLON))); |
|
|
agencyIds.addAll(Arrays.asList(staffInfoCacheResult.getAgencyPIds().split(StrConstant.COLON))); |
|
|
}else{ |
|
|
}else{ |
|
|
//当前用户属于第二级组织的人,不会有:
|
|
|
//当前用户属于第二级组织的人,不会有:
|
|
|
agencyIds.add(staffInfoCacheResult.getAgencyPIds()); |
|
|
agencyIds.add(staffInfoCacheResult.getAgencyPIds()); |
|
|
} |
|
|
} |
|
|
} |
|
|
}*/ |
|
|
agencyIds.add(staffInfoCacheResult.getAgencyId()); |
|
|
agencyIds.add(staffInfoCacheResult.getAgencyId()); |
|
|
resultList = baseDao.selectListByAgencyId(agencyIds, formDTO.getServiceName(), formDTO.getCustomerId(), formDTO.getQueryPurpose()); |
|
|
resultList = baseDao.selectListByAgencyId(agencyIds, formDTO.getServiceName(), formDTO.getCustomerId(), formDTO.getQueryPurpose()); |
|
|
return resultList; |
|
|
return resultList; |
|
|