|
|
@ -27,11 +27,8 @@ import com.epmet.dataaggre.dto.govorg.result.GridStaffResultDTO; |
|
|
|
import com.epmet.dataaggre.dto.govorg.result.StaffOrgNameResultDTO; |
|
|
|
import com.epmet.dataaggre.dto.govorg.result.StaffOrgRelationResultDTO; |
|
|
|
import com.epmet.dataaggre.dto.govproject.result.ProjectAnalysisResultDTO; |
|
|
|
import com.epmet.dataaggre.entity.epmetuser.CustomerStaffEntity; |
|
|
|
import com.epmet.dataaggre.entity.epmetuser.GovStaffRoleEntity; |
|
|
|
import com.epmet.dataaggre.entity.epmetuser.ResiUserBadgeEntity; |
|
|
|
import com.epmet.dataaggre.entity.epmetuser.*; |
|
|
|
import com.epmet.dataaggre.service.datastats.DataStatsService; |
|
|
|
import com.epmet.dataaggre.entity.epmetuser.StaffRoleEntity; |
|
|
|
import com.epmet.dataaggre.service.epmetuser.EpmetUserService; |
|
|
|
import com.epmet.dataaggre.service.epmetuser.StaffPatrolDetailService; |
|
|
|
import com.epmet.dataaggre.service.epmetuser.StaffPatrolRecordService; |
|
|
@ -714,7 +711,13 @@ public class EpmetUserServiceImpl implements EpmetUserService { |
|
|
|
*/ |
|
|
|
@Override |
|
|
|
public List<UserBaseInfoDTO> getUserBaseList(String userId, String customerId) { |
|
|
|
return userBaseInfoDao.getUserBaseList(userId, customerId); |
|
|
|
List<UserBaseInfoDTO> resultList = new ArrayList<>(); |
|
|
|
List<UserBaseInfoDTO> list = userBaseInfoDao.getUserBaseList(customerId, userId, null); |
|
|
|
if (!CollectionUtils.isEmpty(list) && StringUtils.isNotBlank(list.get(0).getIdNum())) { |
|
|
|
return userBaseInfoDao.getUserBaseList(customerId, null, list.get(0).getIdNum()); |
|
|
|
} |
|
|
|
resultList.addAll(list); |
|
|
|
return resultList; |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|