|
@@ -690,7 +690,19 @@ public class JobUserServiceImpl implements JobUserService {
|
|
|
List<JobUserVo> resultList = new ArrayList<>();
|
|
|
PcSite finalCurLoginUserSiteInfo = curLoginUserSiteInfo;
|
|
|
|
|
|
- List<Dictionary<String,String>> idPhoneList = new ArrayList<>();
|
|
|
+ HashMap<String,String> idPhoneList = new HashMap<>();
|
|
|
+ dataList.forEach(item->{
|
|
|
+ if(!idPhoneList.containsValue(item.getIdentityNumber())){
|
|
|
+ idPhoneList.put("IdentityNumber",item.getIdentityNumber());
|
|
|
+ }else{
|
|
|
+ throw new BaseException("","求职人员导入数据存在相同的身份证号码!");
|
|
|
+ }
|
|
|
+ if(!idPhoneList.containsValue(item.getUserMobile())){
|
|
|
+ idPhoneList.put("UserMobile",item.getUserMobile());
|
|
|
+ }else{
|
|
|
+ throw new BaseException("","求职人员导入数据存在相同的联系电话!");
|
|
|
+ }
|
|
|
+ });
|
|
|
dataList.forEach(item -> {
|
|
|
String errorInfo = "";
|
|
|
item.setJobUserID(UUID.randomUUID().toString());
|