Commit 7b58ec80 authored by hongguangwu's avatar hongguangwu

MVP1.7.12-保存档案

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