Commit 7b58ec80 authored by hongguangwu's avatar hongguangwu

MVP1.7.12-保存档案

parent c41c2341
......@@ -501,6 +501,7 @@ public class TGzEmpInfoServiceImpl extends ServiceImpl<TGzEmpInfoMapper, TGzEmpI
List<TGzEmpContactInfo> emergContactList = tGzEmpInfoVo.getEmergContactList();
if (emergContactList != null && !emergContactList.isEmpty()) {
for (TGzEmpContactInfo a : emergContactList) {
a.setId(null);
a.setEmpId(gzEmpId);
a.setCreateBy(user.getId());
a.setCreateName(user.getNickname());
......@@ -513,6 +514,7 @@ public class TGzEmpInfoServiceImpl extends ServiceImpl<TGzEmpInfoMapper, TGzEmpI
List<TGzEmpEducation> eduExpList = tGzEmpInfoVo.getEduExpList();
if (eduExpList != null && !eduExpList.isEmpty()) {
for (TGzEmpEducation a : eduExpList) {
a.setId(null);
a.setEmpId(gzEmpId);
a.setCreateBy(user.getId());
a.setCreateName(user.getNickname());
......@@ -526,6 +528,7 @@ public class TGzEmpInfoServiceImpl extends ServiceImpl<TGzEmpInfoMapper, TGzEmpI
List<TGzEmpWork> workList = tGzEmpInfoVo.getWorkExpList();
if (workList != null && !workList.isEmpty()) {
for (TGzEmpWork a : workList) {
a.setId(null);
a.setEmpId(gzEmpId);
a.setCreateBy(user.getId());
a.setCreateName(user.getNickname());
......@@ -539,6 +542,7 @@ public class TGzEmpInfoServiceImpl extends ServiceImpl<TGzEmpInfoMapper, TGzEmpI
List<TGzEmpFamily> familyList = tGzEmpInfoVo.getFamilyList();
if (familyList != null && !familyList.isEmpty()) {
for (TGzEmpFamily a : familyList) {
a.setId(null);
a.setEmpId(gzEmpId);
a.setCreateBy(user.getId());
a.setCreateName(user.getNickname());
......@@ -552,6 +556,7 @@ public class TGzEmpInfoServiceImpl extends ServiceImpl<TGzEmpInfoMapper, TGzEmpI
List<TGzEmpSkill> skillList = tGzEmpInfoVo.getSkillList();
if (skillList != null && !skillList.isEmpty()) {
for (TGzEmpSkill a : skillList) {
a.setId(null);
a.setEmpId(gzEmpId);
a.setCreateBy(user.getId());
a.setCreateName(user.getNickname());
......@@ -569,6 +574,7 @@ public class TGzEmpInfoServiceImpl extends ServiceImpl<TGzEmpInfoMapper, TGzEmpI
List<TAttaInfo> attaList = tGzEmpInfoVo.getAttaList();
if (attaList != null && !attaList.isEmpty()) {
for (TAttaInfo a : attaList) {
a.setId(null);
a.setDomainId(gzEmpId);
a.setCreateBy(user.getId());
a.setCreateName(user.getNickname());
......
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