|
|
@ -38,6 +38,7 @@ import com.epmet.resi.partymember.dto.partymember.result.AuditingDetailResultDTO |
|
|
|
import com.epmet.resi.partymember.dto.partymember.result.AutoFailedDetailResultDTO; |
|
|
|
import com.epmet.resi.partymember.dto.partymember.result.RejectedDetailResultDTO; |
|
|
|
import lombok.extern.slf4j.Slf4j; |
|
|
|
import org.apache.commons.lang3.StringUtils; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
import org.springframework.stereotype.Service; |
|
|
|
import org.springframework.transaction.annotation.Transactional; |
|
|
@ -335,22 +336,28 @@ public class PartyMemberConfirmServiceImpl implements PartyMemberConfirmService |
|
|
|
//获取党员自动认证信息
|
|
|
|
List<String> failedReason = new ArrayList<>(); |
|
|
|
|
|
|
|
if (null != fromDTO.getAutoId() && !fromDTO.getAutoId().isEmpty()) { |
|
|
|
if (null != fromDTO.getAutoId() && !fromDTO.getAutoId().isEmpty()&& !("null").equals(fromDTO.getAutoId())) { |
|
|
|
PartymemberConfirmAutoEntity autoEntity = partymemberConfirmAutoService.selectById(fromDTO.getAutoId()); |
|
|
|
if (PartyMemberConstant.SAME.equals(autoEntity.getMobileResult())) { |
|
|
|
failedReason.add("手机号匹配"); |
|
|
|
} else { |
|
|
|
if (null == autoEntity) { |
|
|
|
failedReason.add("手机号未匹配"); |
|
|
|
} |
|
|
|
if (PartyMemberConstant.SAME.equals(autoEntity.getIdCardResult())) { |
|
|
|
failedReason.add("身份证匹配"); |
|
|
|
} else { |
|
|
|
failedReason.add("身份证未匹配"); |
|
|
|
} |
|
|
|
if (PartyMemberConstant.SAME.equals(autoEntity.getNameResult())) { |
|
|
|
failedReason.add("姓名匹配"); |
|
|
|
} else { |
|
|
|
failedReason.add("姓名未匹配"); |
|
|
|
} else { |
|
|
|
if (PartyMemberConstant.SAME.equals(autoEntity.getMobileResult())) { |
|
|
|
failedReason.add("手机号匹配"); |
|
|
|
} else { |
|
|
|
failedReason.add("手机号未匹配"); |
|
|
|
} |
|
|
|
if (PartyMemberConstant.SAME.equals(autoEntity.getIdCardResult())) { |
|
|
|
failedReason.add("身份证匹配"); |
|
|
|
} else { |
|
|
|
failedReason.add("身份证未匹配"); |
|
|
|
} |
|
|
|
if (PartyMemberConstant.SAME.equals(autoEntity.getNameResult())) { |
|
|
|
failedReason.add("姓名匹配"); |
|
|
|
} else { |
|
|
|
failedReason.add("姓名未匹配"); |
|
|
|
} |
|
|
|
} |
|
|
|
} else { |
|
|
|
failedReason.add("手机号未匹配"); |
|
|
|