liao-sea 3 kuukautta sitten
vanhempi
commit
76b34d6554

+ 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 += "导入数据存在相同的身份证号码!";
                         }
                     }