|
@@ -3,6 +3,7 @@ package com.jeeplus.human.enrollment.enrollmentRegistration.service;
|
|
import cn.hutool.core.collection.CollUtil;
|
|
import cn.hutool.core.collection.CollUtil;
|
|
import cn.hutool.core.collection.CollectionUtil;
|
|
import cn.hutool.core.collection.CollectionUtil;
|
|
import cn.hutool.core.io.FileUtil;
|
|
import cn.hutool.core.io.FileUtil;
|
|
|
|
+import cn.hutool.core.util.IdcardUtil;
|
|
import cn.hutool.core.util.ObjectUtil;
|
|
import cn.hutool.core.util.ObjectUtil;
|
|
import cn.hutool.extra.spring.SpringUtil;
|
|
import cn.hutool.extra.spring.SpringUtil;
|
|
import com.alibaba.fastjson.JSON;
|
|
import com.alibaba.fastjson.JSON;
|
|
@@ -742,8 +743,17 @@ public class EnrollmentRegistrationService extends ServiceImpl<EnrollmentRegistr
|
|
return info;
|
|
return info;
|
|
}
|
|
}
|
|
|
|
|
|
- public EnrollmentUserInfoAudit findAuditInfoById(String id) {
|
|
|
|
|
|
+ public EnrollmentUserInfoAudit findAuditInfoById(String id,String status) {
|
|
EnrollmentUserInfoAudit info = userInfoAuditService.getById(id);
|
|
EnrollmentUserInfoAudit info = userInfoAuditService.getById(id);
|
|
|
|
+ if("1".equals(status)){
|
|
|
|
+ status = "4";
|
|
|
|
+ }
|
|
|
|
+ //根据身份证动态计算年龄
|
|
|
|
+ String idCard = info.getIdCard();
|
|
|
|
+ if (StringUtils.isNotBlank(idCard)) {
|
|
|
|
+ int age = IdcardUtil.getAgeByIdCard(idCard);
|
|
|
|
+ info.setAge(String.valueOf(age)); // 转成字符串
|
|
|
|
+ }
|
|
|
|
|
|
if (ObjectUtil.isNotEmpty(info)) {
|
|
if (ObjectUtil.isNotEmpty(info)) {
|
|
// 查询身份证正反面信息
|
|
// 查询身份证正反面信息
|
|
@@ -757,35 +767,35 @@ public class EnrollmentRegistrationService extends ServiceImpl<EnrollmentRegistr
|
|
}
|
|
}
|
|
String userId = info.getUserId();
|
|
String userId = info.getUserId();
|
|
//查询教育经历数据
|
|
//查询教育经历数据
|
|
- List<EnrollmentEduInfo> eduInfoList = eduInfoService.findByUserId(userId, "2");
|
|
|
|
|
|
+ List<EnrollmentEduInfo> eduInfoList = eduInfoService.findByUserId(userId, status);
|
|
info.setEduInfoList(eduInfoList);
|
|
info.setEduInfoList(eduInfoList);
|
|
|
|
|
|
//查询工作经历数据
|
|
//查询工作经历数据
|
|
- List<EnrollmentWorkInfo> workInfos = workInfoService.findByUserId(userId, "2");
|
|
|
|
|
|
+ List<EnrollmentWorkInfo> workInfos = workInfoService.findByUserId(userId, status);
|
|
info.setWorkInfoList(workInfos);
|
|
info.setWorkInfoList(workInfos);
|
|
|
|
|
|
//查询培训经历数据
|
|
//查询培训经历数据
|
|
- List<EnrollmentTrainingInfo> trainingInfos = trainingInfoService.findByUserId(userId, "2");
|
|
|
|
|
|
+ List<EnrollmentTrainingInfo> trainingInfos = trainingInfoService.findByUserId(userId, status);
|
|
info.setTrainingInfoList(trainingInfos);
|
|
info.setTrainingInfoList(trainingInfos);
|
|
|
|
|
|
//查询资质证书数据
|
|
//查询资质证书数据
|
|
- List<EnrollmentCertificateInfo> certificateInfoList = certificateInfoService.findByUserId(userId, "2");
|
|
|
|
|
|
+ List<EnrollmentCertificateInfo> certificateInfoList = certificateInfoService.findByUserId(userId, status);
|
|
info.setCertificateInfoList(certificateInfoList);
|
|
info.setCertificateInfoList(certificateInfoList);
|
|
|
|
|
|
//查询专业技能数据
|
|
//查询专业技能数据
|
|
- List<EnrollmentSkillInfo> skillInfoList = skillInfoService.findByUserId(userId, "2");
|
|
|
|
|
|
+ List<EnrollmentSkillInfo> skillInfoList = skillInfoService.findByUserId(userId, status);
|
|
info.setSkillInfoList(skillInfoList);
|
|
info.setSkillInfoList(skillInfoList);
|
|
|
|
|
|
//查询语言能力数据
|
|
//查询语言能力数据
|
|
- List<EnrollmentLanguageInfo> languageInfoList = languageInfoService.findByUserId(userId, "2");
|
|
|
|
|
|
+ List<EnrollmentLanguageInfo> languageInfoList = languageInfoService.findByUserId(userId, status);
|
|
info.setLanguageInfoList(languageInfoList);
|
|
info.setLanguageInfoList(languageInfoList);
|
|
|
|
|
|
//查询家庭成员数据
|
|
//查询家庭成员数据
|
|
- List<EnrollmentFamilyInfo> familyInfoList = familyInfoService.findByUserId(userId, "2");
|
|
|
|
|
|
+ List<EnrollmentFamilyInfo> familyInfoList = familyInfoService.findByUserId(userId, status);
|
|
info.setFamilyInfoList(familyInfoList);
|
|
info.setFamilyInfoList(familyInfoList);
|
|
|
|
|
|
//查询奖项信息
|
|
//查询奖项信息
|
|
- List<EnrollmentRewardInfo> rewardInfoList = rewardInfoService.findByUserId(userId, "2");
|
|
|
|
|
|
+ List<EnrollmentRewardInfo> rewardInfoList = rewardInfoService.findByUserId(userId, status);
|
|
info.setRewardInfoList(rewardInfoList);
|
|
info.setRewardInfoList(rewardInfoList);
|
|
|
|
|
|
//查询劳动合同
|
|
//查询劳动合同
|
|
@@ -793,11 +803,11 @@ public class EnrollmentRegistrationService extends ServiceImpl<EnrollmentRegistr
|
|
info.setLaborContractInfoList(laborContractInfoList);
|
|
info.setLaborContractInfoList(laborContractInfoList);
|
|
|
|
|
|
//查询社会及行业职务
|
|
//查询社会及行业职务
|
|
- List<EnrollmentSocietyInfo> societyInfoList = societyInfoService.findByUserId(userId, "2");
|
|
|
|
|
|
+ List<EnrollmentSocietyInfo> societyInfoList = societyInfoService.findByUserId(userId, status);
|
|
info.setSocietyInfoList(societyInfoList);
|
|
info.setSocietyInfoList(societyInfoList);
|
|
|
|
|
|
//工作业绩
|
|
//工作业绩
|
|
- List<EnrollmentPerformanceInfo> performanceInfoList = performanceInfoService.findByUserId(userId, "2");
|
|
|
|
|
|
+ List<EnrollmentPerformanceInfo> performanceInfoList = performanceInfoService.findByUserId(userId, status);
|
|
info.setPerformanceInfoList(performanceInfoList);
|
|
info.setPerformanceInfoList(performanceInfoList);
|
|
}
|
|
}
|
|
return info;
|
|
return info;
|
|
@@ -815,6 +825,12 @@ public class EnrollmentRegistrationService extends ServiceImpl<EnrollmentRegistr
|
|
public EnrollmentRegistration findInfoByUserId(String id) throws Exception {
|
|
public EnrollmentRegistration findInfoByUserId(String id) throws Exception {
|
|
// 查询基础信息表
|
|
// 查询基础信息表
|
|
EnrollmentRegistration info = mapper.getInfoByUserId(id);
|
|
EnrollmentRegistration info = mapper.getInfoByUserId(id);
|
|
|
|
+ //根据身份证动态计算年龄
|
|
|
|
+ String idCard = info.getIdCard();
|
|
|
|
+ if (StringUtils.isNotBlank(idCard)) {
|
|
|
|
+ int age = IdcardUtil.getAgeByIdCard(idCard);
|
|
|
|
+ info.setAge(String.valueOf(age)); // 转成字符串
|
|
|
|
+ }
|
|
//根据用户查询岗位和角色信息
|
|
//根据用户查询岗位和角色信息
|
|
if (ObjectUtil.isNotEmpty(info)) {
|
|
if (ObjectUtil.isNotEmpty(info)) {
|
|
UserDTO userDTO = SpringUtil.getBean(IUserApi.class).getById(info.getUserId());
|
|
UserDTO userDTO = SpringUtil.getBean(IUserApi.class).getById(info.getUserId());
|
|
@@ -847,35 +863,35 @@ public class EnrollmentRegistrationService extends ServiceImpl<EnrollmentRegistr
|
|
|
|
|
|
String userId = info.getUserId();
|
|
String userId = info.getUserId();
|
|
//查询教育经历数据
|
|
//查询教育经历数据
|
|
- List<EnrollmentEduInfo> eduInfoList = eduInfoService.findByUserId(userId, "5");
|
|
|
|
|
|
+ List<EnrollmentEduInfo> eduInfoList = eduInfoService.findByUserId(userId, "1");
|
|
info.setEduInfoList(eduInfoList);
|
|
info.setEduInfoList(eduInfoList);
|
|
|
|
|
|
//查询工作经历数据
|
|
//查询工作经历数据
|
|
- List<EnrollmentWorkInfo> workInfos = workInfoService.findByUserId(userId, "5");
|
|
|
|
|
|
+ List<EnrollmentWorkInfo> workInfos = workInfoService.findByUserId(userId, "1");
|
|
info.setWorkInfoList(workInfos);
|
|
info.setWorkInfoList(workInfos);
|
|
|
|
|
|
//查询培训经历数据
|
|
//查询培训经历数据
|
|
- List<EnrollmentTrainingInfo> trainingInfos = trainingInfoService.findByUserId(userId, "5");
|
|
|
|
|
|
+ List<EnrollmentTrainingInfo> trainingInfos = trainingInfoService.findByUserId(userId, "1");
|
|
info.setTrainingInfoList(trainingInfos);
|
|
info.setTrainingInfoList(trainingInfos);
|
|
|
|
|
|
//查询资质证书数据
|
|
//查询资质证书数据
|
|
- List<EnrollmentCertificateInfo> certificateInfoList = certificateInfoService.findByUserId(userId, "5");
|
|
|
|
|
|
+ List<EnrollmentCertificateInfo> certificateInfoList = certificateInfoService.findByUserId(userId, "1");
|
|
info.setCertificateInfoList(certificateInfoList);
|
|
info.setCertificateInfoList(certificateInfoList);
|
|
|
|
|
|
//查询专业技能数据
|
|
//查询专业技能数据
|
|
- List<EnrollmentSkillInfo> skillInfoList = skillInfoService.findByUserId(userId, "5");
|
|
|
|
|
|
+ List<EnrollmentSkillInfo> skillInfoList = skillInfoService.findByUserId(userId, "1");
|
|
info.setSkillInfoList(skillInfoList);
|
|
info.setSkillInfoList(skillInfoList);
|
|
|
|
|
|
//查询语言能力数据
|
|
//查询语言能力数据
|
|
- List<EnrollmentLanguageInfo> languageInfoList = languageInfoService.findByUserId(userId, "5");
|
|
|
|
|
|
+ List<EnrollmentLanguageInfo> languageInfoList = languageInfoService.findByUserId(userId, "1");
|
|
info.setLanguageInfoList(languageInfoList);
|
|
info.setLanguageInfoList(languageInfoList);
|
|
|
|
|
|
//查询家庭成员数据
|
|
//查询家庭成员数据
|
|
- List<EnrollmentFamilyInfo> familyInfoList = familyInfoService.findByUserId(userId, "5");
|
|
|
|
|
|
+ List<EnrollmentFamilyInfo> familyInfoList = familyInfoService.findByUserId(userId, "1");
|
|
info.setFamilyInfoList(familyInfoList);
|
|
info.setFamilyInfoList(familyInfoList);
|
|
|
|
|
|
//查询奖项信息
|
|
//查询奖项信息
|
|
- List<EnrollmentRewardInfo> rewardInfoList = rewardInfoService.findByUserId(userId, "5");
|
|
|
|
|
|
+ List<EnrollmentRewardInfo> rewardInfoList = rewardInfoService.findByUserId(userId, "1");
|
|
info.setRewardInfoList(rewardInfoList);
|
|
info.setRewardInfoList(rewardInfoList);
|
|
|
|
|
|
//查询劳动合同
|
|
//查询劳动合同
|
|
@@ -883,11 +899,11 @@ public class EnrollmentRegistrationService extends ServiceImpl<EnrollmentRegistr
|
|
info.setLaborContractInfoList(laborContractInfoList);
|
|
info.setLaborContractInfoList(laborContractInfoList);
|
|
|
|
|
|
//查询社会及行业职务
|
|
//查询社会及行业职务
|
|
- List<EnrollmentSocietyInfo> societyInfoList = societyInfoService.findByUserId(userId, "5");
|
|
|
|
|
|
+ List<EnrollmentSocietyInfo> societyInfoList = societyInfoService.findByUserId(userId, "1");
|
|
info.setSocietyInfoList(societyInfoList);
|
|
info.setSocietyInfoList(societyInfoList);
|
|
|
|
|
|
//工作业绩
|
|
//工作业绩
|
|
- List<EnrollmentPerformanceInfo> performanceInfoList = performanceInfoService.findByUserId(userId, "5");
|
|
|
|
|
|
+ List<EnrollmentPerformanceInfo> performanceInfoList = performanceInfoService.findByUserId(userId, "1");
|
|
info.setPerformanceInfoList(performanceInfoList);
|
|
info.setPerformanceInfoList(performanceInfoList);
|
|
}
|
|
}
|
|
|
|
|
|
@@ -933,14 +949,13 @@ public class EnrollmentRegistrationService extends ServiceImpl<EnrollmentRegistr
|
|
return "操作成功";
|
|
return "操作成功";
|
|
}
|
|
}
|
|
|
|
|
|
- public Integer findIdCardOnly(String idCard, String id) throws Exception {
|
|
|
|
|
|
+ public Integer findIdCardOnly(String idCard, String userId) throws Exception {
|
|
QueryWrapper<EnrollmentRegistration> queryWrapper = new QueryWrapper<>();
|
|
QueryWrapper<EnrollmentRegistration> queryWrapper = new QueryWrapper<>();
|
|
queryWrapper.eq("id_card", idCard);
|
|
queryWrapper.eq("id_card", idCard);
|
|
queryWrapper.eq("del_flag", 0);
|
|
queryWrapper.eq("del_flag", 0);
|
|
- if (StringUtils.isNotBlank(id)) {
|
|
|
|
- queryWrapper.ne("id", id);
|
|
|
|
|
|
+ if (StringUtils.isNotBlank(userId)) {
|
|
|
|
+ queryWrapper.ne("user_id", userId);
|
|
}
|
|
}
|
|
-
|
|
|
|
// 删除基础信息表
|
|
// 删除基础信息表
|
|
Integer integer = mapper.selectCount(queryWrapper);
|
|
Integer integer = mapper.selectCount(queryWrapper);
|
|
return integer;
|
|
return integer;
|
|
@@ -1005,7 +1020,7 @@ public class EnrollmentRegistrationService extends ServiceImpl<EnrollmentRegistr
|
|
String id = UUID.randomUUID().toString().replace("-", "");
|
|
String id = UUID.randomUUID().toString().replace("-", "");
|
|
BeanUtils.copyProperties(registrationData, enrollmentUserInfoAudit);
|
|
BeanUtils.copyProperties(registrationData, enrollmentUserInfoAudit);
|
|
enrollmentUserInfoAudit.setStatus("2");
|
|
enrollmentUserInfoAudit.setStatus("2");
|
|
- if (!"4".equals(registrationData.getStatus())) {
|
|
|
|
|
|
+ if (!"4".equals(registrationData.getStatus()) && !"1".equals(registrationData.getStatus())) {
|
|
enrollmentUserInfoAudit.setId(id);
|
|
enrollmentUserInfoAudit.setId(id);
|
|
enrollmentUserInfoAudit.setRegistrationId(registrationData.getId());
|
|
enrollmentUserInfoAudit.setRegistrationId(registrationData.getId());
|
|
} else {
|
|
} else {
|
|
@@ -1039,6 +1054,10 @@ public class EnrollmentRegistrationService extends ServiceImpl<EnrollmentRegistr
|
|
saveAttachments(enrollmentUserInfoAudit.getIdCardBack(), "idCardBack", enrollmentUserInfoAudit.getId(), userDTO, workAttachmentApi);
|
|
saveAttachments(enrollmentUserInfoAudit.getIdCardBack(), "idCardBack", enrollmentUserInfoAudit.getId(), userDTO, workAttachmentApi);
|
|
saveEnrollmentDetailInfo(registrationData);
|
|
saveEnrollmentDetailInfo(registrationData);
|
|
} else {
|
|
} else {
|
|
|
|
+ IWorkAttachmentApi workAttachmentApi = SpringUtil.getBean(IWorkAttachmentApi.class);
|
|
|
|
+ SpringUtil.getBean(IWorkAttachmentApi.class).deleteByAttachmentId(enrollmentUserInfoAudit.getId());
|
|
|
|
+ saveAttachments(enrollmentUserInfoAudit.getIdCardFront(), "idCardFront", enrollmentUserInfoAudit.getId(), userDTO, workAttachmentApi);
|
|
|
|
+ saveAttachments(enrollmentUserInfoAudit.getIdCardBack(), "idCardBack", enrollmentUserInfoAudit.getId(), userDTO, workAttachmentApi);
|
|
updateEnrollmentDetailInfo(registrationData,"2");
|
|
updateEnrollmentDetailInfo(registrationData,"2");
|
|
}
|
|
}
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|
|
@@ -1046,6 +1065,39 @@ public class EnrollmentRegistrationService extends ServiceImpl<EnrollmentRegistr
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * 用户暂存信息
|
|
|
|
+ *
|
|
|
|
+ * @param registrationData
|
|
|
|
+ */
|
|
|
|
+ public void updateInfoTemporary(EnrollmentRegistration registrationData) {
|
|
|
|
+ try {
|
|
|
|
+ UserDTO userDTO = SpringUtil.getBean(IUserApi.class).getByToken(TokenProvider.getCurrentToken());
|
|
|
|
+ EnrollmentUserInfoAudit enrollmentUserInfoAudit = new EnrollmentUserInfoAudit();
|
|
|
|
+ String id = UUID.randomUUID().toString().replace("-", "");
|
|
|
|
+ BeanUtils.copyProperties(registrationData, enrollmentUserInfoAudit);
|
|
|
|
+ enrollmentUserInfoAudit.setStatus("1");
|
|
|
|
+ if (!"4".equals(registrationData.getStatus()) && !"1".equals(registrationData.getStatus())) {
|
|
|
|
+ enrollmentUserInfoAudit.setId(id);
|
|
|
|
+ enrollmentUserInfoAudit.setRegistrationId(registrationData.getId());
|
|
|
|
+ } else {
|
|
|
|
+ enrollmentUserInfoAudit.setId(registrationData.getId());
|
|
|
|
+ enrollmentUserInfoAudit.setRegistrationId(registrationData.getRegistrationId());
|
|
|
|
+ }
|
|
|
|
+ userInfoAuditService.saveOrUpdate(enrollmentUserInfoAudit);
|
|
|
|
+ //更新提交审批的时间
|
|
|
|
+ mapper.updateApprovalTime(registrationData.getUserId());
|
|
|
|
+ IWorkAttachmentApi workAttachmentApi = SpringUtil.getBean(IWorkAttachmentApi.class);
|
|
|
|
+ SpringUtil.getBean(IWorkAttachmentApi.class).deleteByAttachmentId(enrollmentUserInfoAudit.getId());
|
|
|
|
+ saveAttachments(enrollmentUserInfoAudit.getIdCardFront(), "idCardFront", enrollmentUserInfoAudit.getId(), userDTO, workAttachmentApi);
|
|
|
|
+ saveAttachments(enrollmentUserInfoAudit.getIdCardBack(), "idCardBack", enrollmentUserInfoAudit.getId(), userDTO, workAttachmentApi);
|
|
|
|
+
|
|
|
|
+ } catch (Exception e) {
|
|
|
|
+ throw new RuntimeException(e);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
public void saveEnrollmentDetailInfo(EnrollmentRegistration dto) {
|
|
public void saveEnrollmentDetailInfo(EnrollmentRegistration dto) {
|
|
// 教育经历
|
|
// 教育经历
|
|
List<EnrollmentEduInfo> eduList = dto.getEduInfoList();
|
|
List<EnrollmentEduInfo> eduList = dto.getEduInfoList();
|
|
@@ -1174,7 +1226,6 @@ public class EnrollmentRegistrationService extends ServiceImpl<EnrollmentRegistr
|
|
// 培训经历
|
|
// 培训经历
|
|
List<EnrollmentTrainingInfo> trainingList = dto.getTrainingInfoList();
|
|
List<EnrollmentTrainingInfo> trainingList = dto.getTrainingInfoList();
|
|
if (CollectionUtils.isNotEmpty(trainingList)) {
|
|
if (CollectionUtils.isNotEmpty(trainingList)) {
|
|
- trainingList.forEach(item -> item.setStatus("2"));
|
|
|
|
trainingList.forEach(item -> {
|
|
trainingList.forEach(item -> {
|
|
item.setStatus(status);
|
|
item.setStatus(status);
|
|
trainingInfoService.saveOrUpdate(item);
|
|
trainingInfoService.saveOrUpdate(item);
|
|
@@ -1776,6 +1827,81 @@ public class EnrollmentRegistrationService extends ServiceImpl<EnrollmentRegistr
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ public void updateInfoStatus(EnrollmentRegistration info) {
|
|
|
|
+ try {
|
|
|
|
+ String type = info.getType();
|
|
|
|
+ switch (type){
|
|
|
|
+ case "1":
|
|
|
|
+ EnrollmentEduInfo enrollmentEduInfo = new EnrollmentEduInfo();
|
|
|
|
+ enrollmentEduInfo.setId(info.getId());
|
|
|
|
+ enrollmentEduInfo.setStatus(info.getStatus());
|
|
|
|
+ eduInfoService.updateById(enrollmentEduInfo);
|
|
|
|
+ break;
|
|
|
|
+ case "2":
|
|
|
|
+ EnrollmentWorkInfo workInfo = new EnrollmentWorkInfo();
|
|
|
|
+ workInfo.setId(info.getId());
|
|
|
|
+ workInfo.setStatus(info.getStatus());
|
|
|
|
+ workInfoService.updateById(workInfo);
|
|
|
|
+ break;
|
|
|
|
+ case "3":
|
|
|
|
+ EnrollmentTrainingInfo trainingInfo = new EnrollmentTrainingInfo();
|
|
|
|
+ trainingInfo.setId(info.getId());
|
|
|
|
+ trainingInfo.setStatus(info.getStatus());
|
|
|
|
+ trainingInfoService.updateById(trainingInfo);
|
|
|
|
+ break;
|
|
|
|
+ case "4":
|
|
|
|
+ EnrollmentCertificateInfo certificateInfo = new EnrollmentCertificateInfo();
|
|
|
|
+ certificateInfo.setId(info.getId());
|
|
|
|
+ certificateInfo.setStatus(info.getStatus());
|
|
|
|
+ certificateInfoService.updateById(certificateInfo);
|
|
|
|
+ break;
|
|
|
|
+ case "5":
|
|
|
|
+ EnrollmentSkillInfo skillInfo = new EnrollmentSkillInfo();
|
|
|
|
+ skillInfo.setId(info.getId());
|
|
|
|
+ skillInfo.setStatus(info.getStatus());
|
|
|
|
+ skillInfoService.updateById(skillInfo);
|
|
|
|
+ break;
|
|
|
|
+ case "6":
|
|
|
|
+ EnrollmentLanguageInfo enrollmentLanguageInfo = new EnrollmentLanguageInfo();
|
|
|
|
+ enrollmentLanguageInfo.setId(info.getId());
|
|
|
|
+ enrollmentLanguageInfo.setStatus(info.getStatus());
|
|
|
|
+ languageInfoService.updateById(enrollmentLanguageInfo);
|
|
|
|
+ break;
|
|
|
|
+ case "7":
|
|
|
|
+ EnrollmentFamilyInfo enrollmentFamilyInfo = new EnrollmentFamilyInfo();
|
|
|
|
+ enrollmentFamilyInfo.setId(info.getId());
|
|
|
|
+ enrollmentFamilyInfo.setStatus(info.getStatus());
|
|
|
|
+ familyInfoService.updateById(enrollmentFamilyInfo);
|
|
|
|
+ break;
|
|
|
|
+ case "8":
|
|
|
|
+ EnrollmentRewardInfo enrollmentRewardInfo = new EnrollmentRewardInfo();
|
|
|
|
+ enrollmentRewardInfo.setId(info.getId());
|
|
|
|
+ enrollmentRewardInfo.setStatus(info.getStatus());
|
|
|
|
+ rewardInfoService.updateById(enrollmentRewardInfo);
|
|
|
|
+ break;
|
|
|
|
+ case "9":
|
|
|
|
+ EnrollmentSocietyInfo enrollmentSocietyInfo = new EnrollmentSocietyInfo();
|
|
|
|
+ enrollmentSocietyInfo.setId(info.getId());
|
|
|
|
+ enrollmentSocietyInfo.setStatus(info.getStatus());
|
|
|
|
+ societyInfoService.updateById(enrollmentSocietyInfo);
|
|
|
|
+ break;
|
|
|
|
+ case "10":
|
|
|
|
+ EnrollmentPerformanceInfo enrollmentPerformanceInfo = new EnrollmentPerformanceInfo();
|
|
|
|
+ enrollmentPerformanceInfo.setId(info.getId());
|
|
|
|
+ enrollmentPerformanceInfo.setStatus(info.getStatus());
|
|
|
|
+ performanceInfoService.updateById(enrollmentPerformanceInfo);
|
|
|
|
+ break;
|
|
|
|
+ default:
|
|
|
|
+
|
|
|
|
+ break;
|
|
|
|
+ }
|
|
|
|
+ } catch (Exception e) {
|
|
|
|
+ throw new RuntimeException(e);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
|
|
/**
|
|
/**
|
|
* 批量下载附件压缩包
|
|
* 批量下载附件压缩包
|