|
@ -35,6 +35,8 @@ import com.epmet.dataaggre.entity.epmetuser.ResiUserBadgeEntity; |
|
|
import com.epmet.dataaggre.entity.epmetuser.StaffRoleEntity; |
|
|
import com.epmet.dataaggre.entity.epmetuser.StaffRoleEntity; |
|
|
import com.epmet.dataaggre.entity.govorg.CustomerAgencyEntity; |
|
|
import com.epmet.dataaggre.entity.govorg.CustomerAgencyEntity; |
|
|
import com.epmet.dataaggre.service.datastats.DataStatsService; |
|
|
import com.epmet.dataaggre.service.datastats.DataStatsService; |
|
|
|
|
|
import com.epmet.dataaggre.entity.epmetuser.*; |
|
|
|
|
|
import com.epmet.dataaggre.service.datastats.DataStatsService; |
|
|
import com.epmet.dataaggre.service.epmetuser.EpmetUserService; |
|
|
import com.epmet.dataaggre.service.epmetuser.EpmetUserService; |
|
|
import com.epmet.dataaggre.service.epmetuser.StaffPatrolDetailService; |
|
|
import com.epmet.dataaggre.service.epmetuser.StaffPatrolDetailService; |
|
|
import com.epmet.dataaggre.service.epmetuser.StaffPatrolRecordService; |
|
|
import com.epmet.dataaggre.service.epmetuser.StaffPatrolRecordService; |
|
@ -721,7 +723,13 @@ public class EpmetUserServiceImpl implements EpmetUserService { |
|
|
*/ |
|
|
*/ |
|
|
@Override |
|
|
@Override |
|
|
public List<UserBaseInfoDTO> getUserBaseList(String userId, String customerId) { |
|
|
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; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|