liao-sea 3 달 전
부모
커밋
76b34d6554
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 4 4
      src/main/java/com/hz/employmentsite/services/impl/jobUserManager/JobUserServiceImpl.java

+ 4 - 4
src/main/java/com/hz/employmentsite/services/impl/jobUserManager/JobUserServiceImpl.java

@@ -949,20 +949,20 @@ public class JobUserServiceImpl implements JobUserService {
             item.setJobExperience(new ArrayList<>());
 
             if(repeatIdentityList.stream().count()>0){
-                if(repeatIdentityList.contains(item.getIdentityNumber())){
+                if(repeatIdentityList.contains(desUtils.decoderText(item.getIdentityNumber()))){
                     errorInfo = "导入数据存在相同的身份证号码!";
                     if(repeatUserMobileList.stream().count()>0){
-                        if(repeatUserMobileList.contains(item.getUserMobile())){
+                        if(repeatUserMobileList.contains(desUtils.decoderText(item.getUserMobile()))){
                             errorInfo += "导入数据存在相同的联系电话!";
                         }
                     }
                 }
             }
             if(repeatUserMobileList.stream().count()>0){
-                if(repeatUserMobileList.contains(item.getUserMobile())){
+                if(repeatUserMobileList.contains(desUtils.decoderText(item.getUserMobile()))){
                     errorInfo = "导入数据存在相同的联系电话!";
                     if(repeatIdentityList.stream().count()>0){
-                        if(repeatIdentityList.contains(item.getIdentityNumber())){
+                        if(repeatIdentityList.contains(desUtils.decoderText(item.getIdentityNumber()))){
                             errorInfo += "导入数据存在相同的身份证号码!";
                         }
                     }