Commit a68aad20 authored by chenyuxi's avatar chenyuxi

feat: 档案详情调整

parent 984ad681
......@@ -171,6 +171,33 @@ public class TGzEmpInfoServiceImpl extends ServiceImpl<TGzEmpInfoMapper, TGzEmpI
gzEmpInfoVo.setMail(gzOfferInfo.getEmail());
// 地址类型: 系统存默认值“现住址”:1A
gzEmpInfoVo.setAddressType("1A");
// 默认所有附属信息给个空对象(前端要求)
List<TGzEmpContactInfo> emergContactList = new ArrayList<>();
TGzEmpContactInfo gzEmpContactInfo = new TGzEmpContactInfo();
emergContactList.add(gzEmpContactInfo);
gzEmpInfoVo.setEmergContactList(emergContactList);
List<TGzEmpEducation> eduList = new ArrayList<>();
TGzEmpEducation gzEmpEducation = new TGzEmpEducation();
eduList.add(gzEmpEducation);
gzEmpInfoVo.setEduExpList(eduList);
List<TGzEmpWork> workList = new ArrayList<>();
TGzEmpWork gzEmpWork = new TGzEmpWork();
workList.add(gzEmpWork);
gzEmpInfoVo.setWorkExpList(workList);
List<TGzEmpFamily> familyList = new ArrayList<>();
TGzEmpFamily gzEmpFamily = new TGzEmpFamily();
familyList.add(gzEmpFamily);
gzEmpInfoVo.setFamilyList(familyList);
List<TGzEmpSkill> skillList = new ArrayList<>();
TGzEmpSkill gzEmpSkill = new TGzEmpSkill();
skillList.add(gzEmpSkill);
gzEmpInfoVo.setSkillList(skillList);
} else {
BeanUtil.copyProperties(gzEmpInfo, gzEmpInfoVo);
// 获取瓜子档案附属信息
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment