Commit 1169719f authored by hongguangwu's avatar hongguangwu

派遣/外包+大专及以上=是 才根据学历(本科、大专这些)去更新 或者新建一条学历信息

parent 03546ea1
......@@ -1504,6 +1504,12 @@ public class TEmployeeInfoServiceImpl extends ServiceImpl<TEmployeeInfoMapper, T
// 更新学历-核心
private void doUpdateEducationCore(TEmpEducation education, TEmployeeInfo employeeInfo) {
// 派遣/外包+大专及以上=是 才根据学历(本科、大专这些)去更新 或者新建一条学历信息
if (Common.isNotNull(employeeInfo.getEmpNatrue())
&& (CommonConstants.ZERO_STRING.equals(employeeInfo.getEmpNatrue())
|| CommonConstants.ONE_STRING.equals(employeeInfo.getEmpNatrue()))
&& Common.isNotNull(employeeInfo.getIsCollege())
&& employeeInfo.getIsCollege() == CommonConstants.ONE_INT) {
education.setEmpId(employeeInfo.getId());
education.setEmpName(employeeInfo.getEmpName());
education.setEmpCode(employeeInfo.getEmpCode());
......@@ -1516,6 +1522,7 @@ public class TEmployeeInfoServiceImpl extends ServiceImpl<TEmployeeInfoMapper, T
education.setGradutionDate(LocalDateTimeUtils.convertLDToDate(employeeInfo.getGradutionDate()));
tEmpEducationService.insertEducationOfEmp(education);
}
}
/**
* 获取导出的人员档案列表
......
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