@ -17,6 +17,8 @@ import com.epmet.feign.EpmetHeartOpenFeignClient;
import com.epmet.feign.GovOrgOpenFeignClient ;
import com.epmet.feign.OperCustomizeOpenFeignClient ;
import com.epmet.service.VolunteerService ;
import lombok.extern.slf4j.Slf4j ;
import org.apache.commons.lang3.StringUtils ;
import org.springframework.beans.factory.annotation.Autowired ;
import org.springframework.stereotype.Service ;
@ -29,6 +31,7 @@ import java.util.stream.Collectors;
* @Date 2021 / 12 / 10 5 : 48 下午
* @Version 1 . 0
* /
@Slf4j
@Service
public class VolunteerServiceImpl implements VolunteerService , ResultDataResolver {
@ -135,7 +138,10 @@ public class VolunteerServiceImpl implements VolunteerService, ResultDataResolve
VolunteerDistributionResultDTO . Distribution distribution = new VolunteerDistributionResultDTO . Distribution ( ) ;
ResiUserBaseInfoResultDTO userBaseInfo = userBaseInfoDao . selecUserBaseInfoByUserId ( volunteerEpmetUserId ) ;
if ( userBaseInfo = = null | | StringUtils . isBlank ( userBaseInfo . getIdNum ( ) ) ) {
log . warn ( "getVolunteerDistribution selecUserBaseInfoByUserId return null or idCard is null,volunteerEpmetUserId:{}" , volunteerEpmetUserId ) ;
continue ;
}
//使用身份证号查询ic resi信息
IcResiUserDTO icResiUserInfo = icResiUserDao . selectIdByIdCard ( customerId , userBaseInfo . getIdNum ( ) , null ) ;
if ( icResiUserInfo = = null ) {