|
|
@@ -713,52 +713,51 @@ public class EnrollmentRegistrationService extends ServiceImpl<EnrollmentRegistr
|
|
|
if (CollectionUtils.isNotEmpty(idCardBack)) {
|
|
|
info.setIdCardBack(idCardBack);
|
|
|
}
|
|
|
-
|
|
|
- //查询教育经历数据
|
|
|
- List<EnrollmentEduInfo> eduInfoList = eduInfoService.findByUserId(userId, "5");
|
|
|
- info.setEduInfoList(eduInfoList);
|
|
|
-
|
|
|
- //查询工作经历数据
|
|
|
- List<EnrollmentWorkInfo> workInfos = workInfoService.findByUserId(userId, "5");
|
|
|
- info.setWorkInfoList(workInfos);
|
|
|
-
|
|
|
- //查询培训经历数据
|
|
|
- List<EnrollmentTrainingInfo> trainingInfos = trainingInfoService.findByUserId(userId, "5");
|
|
|
- info.setTrainingInfoList(trainingInfos);
|
|
|
-
|
|
|
- //查询资质证书数据
|
|
|
- List<EnrollmentCertificateInfo> certificateInfoList = certificateInfoService.findByUserId(userId, "5");
|
|
|
- info.setCertificateInfoList(certificateInfoList);
|
|
|
-
|
|
|
- //查询专业技能数据
|
|
|
- List<EnrollmentSkillInfo> skillInfoList = skillInfoService.findByUserId(userId, "5");
|
|
|
- info.setSkillInfoList(skillInfoList);
|
|
|
-
|
|
|
- //查询语言能力数据
|
|
|
- List<EnrollmentLanguageInfo> languageInfoList = languageInfoService.findByUserId(userId, "5");
|
|
|
- info.setLanguageInfoList(languageInfoList);
|
|
|
-
|
|
|
- //查询家庭成员数据
|
|
|
- List<EnrollmentFamilyInfo> familyInfoList = familyInfoService.findByUserId(userId, "5");
|
|
|
- info.setFamilyInfoList(familyInfoList);
|
|
|
-
|
|
|
- //查询奖项信息
|
|
|
- List<EnrollmentRewardInfo> rewardInfoList = rewardInfoService.findByUserId(userId, "5");
|
|
|
- info.setRewardInfoList(rewardInfoList);
|
|
|
-
|
|
|
- //查询劳动合同
|
|
|
- List<EnrollmentLaborContractInfo> laborContractInfoList = laborContractInfoService.findByUserId(userId, "5");
|
|
|
- info.setLaborContractInfoList(laborContractInfoList);
|
|
|
-
|
|
|
- //查询社会及行业职务
|
|
|
- List<EnrollmentSocietyInfo> societyInfoList = societyInfoService.findByUserId(userId, "5");
|
|
|
- info.setSocietyInfoList(societyInfoList);
|
|
|
-
|
|
|
- //工作业绩
|
|
|
- List<EnrollmentPerformanceInfo> performanceInfoList = performanceInfoService.findByUserId(userId, "5");
|
|
|
- info.setPerformanceInfoList(performanceInfoList);
|
|
|
-
|
|
|
-
|
|
|
+ if(StringUtils.isNotBlank(userId)){
|
|
|
+ //查询教育经历数据
|
|
|
+ List<EnrollmentEduInfo> eduInfoList = eduInfoService.findByUserId(userId, "5");
|
|
|
+ info.setEduInfoList(eduInfoList);
|
|
|
+
|
|
|
+ //查询工作经历数据
|
|
|
+ List<EnrollmentWorkInfo> workInfos = workInfoService.findByUserId(userId, "5");
|
|
|
+ info.setWorkInfoList(workInfos);
|
|
|
+
|
|
|
+ //查询培训经历数据
|
|
|
+ List<EnrollmentTrainingInfo> trainingInfos = trainingInfoService.findByUserId(userId, "5");
|
|
|
+ info.setTrainingInfoList(trainingInfos);
|
|
|
+
|
|
|
+ //查询资质证书数据
|
|
|
+ List<EnrollmentCertificateInfo> certificateInfoList = certificateInfoService.findByUserId(userId, "5");
|
|
|
+ info.setCertificateInfoList(certificateInfoList);
|
|
|
+
|
|
|
+ //查询专业技能数据
|
|
|
+ List<EnrollmentSkillInfo> skillInfoList = skillInfoService.findByUserId(userId, "5");
|
|
|
+ info.setSkillInfoList(skillInfoList);
|
|
|
+
|
|
|
+ //查询语言能力数据
|
|
|
+ List<EnrollmentLanguageInfo> languageInfoList = languageInfoService.findByUserId(userId, "5");
|
|
|
+ info.setLanguageInfoList(languageInfoList);
|
|
|
+
|
|
|
+ //查询家庭成员数据
|
|
|
+ List<EnrollmentFamilyInfo> familyInfoList = familyInfoService.findByUserId(userId, "5");
|
|
|
+ info.setFamilyInfoList(familyInfoList);
|
|
|
+
|
|
|
+ //查询奖项信息
|
|
|
+ List<EnrollmentRewardInfo> rewardInfoList = rewardInfoService.findByUserId(userId, "5");
|
|
|
+ info.setRewardInfoList(rewardInfoList);
|
|
|
+
|
|
|
+ //查询劳动合同
|
|
|
+ List<EnrollmentLaborContractInfo> laborContractInfoList = laborContractInfoService.findByUserId(userId, "5");
|
|
|
+ info.setLaborContractInfoList(laborContractInfoList);
|
|
|
+
|
|
|
+ //查询社会及行业职务
|
|
|
+ List<EnrollmentSocietyInfo> societyInfoList = societyInfoService.findByUserId(userId, "5");
|
|
|
+ info.setSocietyInfoList(societyInfoList);
|
|
|
+
|
|
|
+ //工作业绩
|
|
|
+ List<EnrollmentPerformanceInfo> performanceInfoList = performanceInfoService.findByUserId(userId, "5");
|
|
|
+ info.setPerformanceInfoList(performanceInfoList);
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
return info;
|
|
|
@@ -1002,6 +1001,12 @@ public class EnrollmentRegistrationService extends ServiceImpl<EnrollmentRegistr
|
|
|
return integer;
|
|
|
}
|
|
|
|
|
|
+ public Integer findMobilePhoneOnlyByTenantId(String mobilePhone,String tenantId,String userId) throws Exception {
|
|
|
+ // 删除基础信息表
|
|
|
+ Integer integer = SpringUtil.getBean(IUserApi.class).selectCountByMobileByTenantId(mobilePhone,tenantId,userId);
|
|
|
+ return integer;
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* 获取正式工在职状态为离职的,并且user表中未删除的
|
|
|
*
|