盛虹简历字段优化需求开发
This commit is contained in:
parent
1663106791
commit
28cfaebda1
|
|
@ -0,0 +1,31 @@
|
||||||
|
## 户口
|
||||||
|
residence=field31
|
||||||
|
|
||||||
|
##政治面貌
|
||||||
|
politicsStatus=field28
|
||||||
|
|
||||||
|
##民族
|
||||||
|
nation=field44
|
||||||
|
|
||||||
|
##毕业院校
|
||||||
|
graduateSchool=field23
|
||||||
|
|
||||||
|
##专业
|
||||||
|
major=field22
|
||||||
|
|
||||||
|
##家庭地址
|
||||||
|
address=field43
|
||||||
|
|
||||||
|
##职业资格证书/职称
|
||||||
|
jobcall=field35
|
||||||
|
|
||||||
|
##应急联系人(基本信息)
|
||||||
|
emergencyContact=field0
|
||||||
|
|
||||||
|
##关系(基本信息)
|
||||||
|
relationship=field1
|
||||||
|
|
||||||
|
##应急联系人电话(基本信息)
|
||||||
|
eContactMobile=field2
|
||||||
|
|
||||||
|
#
|
||||||
|
|
@ -255,6 +255,7 @@ public class PersonnelResumeServiceImpl extends Service implements PersonnelResu
|
||||||
String graduateSchool = rs.getPropValue("shkjsecond", "graduateSchool");
|
String graduateSchool = rs.getPropValue("shkjsecond", "graduateSchool");
|
||||||
String major = rs.getPropValue("shkjsecond", "major");
|
String major = rs.getPropValue("shkjsecond", "major");
|
||||||
String address = rs.getPropValue("shkjsecond", "address");
|
String address = rs.getPropValue("shkjsecond", "address");
|
||||||
|
String jobcall = rs.getPropValue("shkjsecond", "jobcall");
|
||||||
String emergencyContact = rs.getPropValue("shkjsecond", "emergencyContact");
|
String emergencyContact = rs.getPropValue("shkjsecond", "emergencyContact");
|
||||||
String relationship = rs.getPropValue("shkjsecond", "relationship");
|
String relationship = rs.getPropValue("shkjsecond", "relationship");
|
||||||
String eContactMobile = rs.getPropValue("shkjsecond", "eContactMobile");
|
String eContactMobile = rs.getPropValue("shkjsecond", "eContactMobile");
|
||||||
|
|
@ -263,11 +264,12 @@ public class PersonnelResumeServiceImpl extends Service implements PersonnelResu
|
||||||
rs.executeQuery("SELECT h.id, lastname, sex, birthday, resourceimageid, certificatenum, e."+residence+" as residence, " +
|
rs.executeQuery("SELECT h.id, lastname, sex, birthday, resourceimageid, certificatenum, e."+residence+" as residence, " +
|
||||||
" e."+politicsStatus+" as politicsStatus, e."+nation+" as nation, nativeplace, height, weight, maritalstatus, companystartdate, " +
|
" e."+politicsStatus+" as politicsStatus, e."+nation+" as nation, nativeplace, height, weight, maritalstatus, companystartdate, " +
|
||||||
" b.jobtitlename AS jobTitle, a.departmentname as department, c.name as educationlevel, e."+graduateSchool+" as graduateSchool, " +
|
" b.jobtitlename AS jobTitle, a.departmentname as department, c.name as educationlevel, e."+graduateSchool+" as graduateSchool, " +
|
||||||
" e."+major+" as major, d.name as jobcall, e."+address+" as address, mobile, email, e."+emergencyContact+" as emergencyContact, " +
|
" e."+major+" as major, e."+jobcall+" as jobcall, e."+address+" as address, mobile, email, d."+emergencyContact+" as emergencyContact, " +
|
||||||
" e."+relationship+" as relationship, e."+eContactMobile+" as eContactMobile FROM hrmresource h " +
|
" d."+relationship+" as relationship, d."+eContactMobile+" as eContactMobile FROM hrmresource h " +
|
||||||
" LEFT JOIN hrmdepartment a ON a.id = h.departmentid LEFT JOIN hrmjobtitles b ON b.id = h.jobtitle " +
|
" LEFT JOIN hrmdepartment a ON a.id = h.departmentid LEFT JOIN hrmjobtitles b ON b.id = h.jobtitle " +
|
||||||
" LEFT JOIN hrmeducationlevel c on c.id = h.educationlevel LEFT JOIN hrmjobcall d on d.id = h.jobcall " +
|
" LEFT JOIN hrmeducationlevel c on c.id = h.educationlevel " +
|
||||||
" LEFT JOIN cus_fielddata e on e.id = h.id and scopeid = 1 and scope = 'HrmCustomFieldByInfoType' where h.id = ?",resourceId);
|
" LEFT JOIN cus_fielddata d on d.id = h.id and d.scopeid = -1 and d.scope = 'HrmCustomFieldByInfoType' " +
|
||||||
|
" LEFT JOIN cus_fielddata e on e.id = h.id and e.scopeid = 1 and e.scope = 'HrmCustomFieldByInfoType' where h.id = ?",resourceId);
|
||||||
PersonnelResumePo personnelResumePo = PersonnelResumePo.builder().build();
|
PersonnelResumePo personnelResumePo = PersonnelResumePo.builder().build();
|
||||||
if (rs.next()) {
|
if (rs.next()) {
|
||||||
personnelResumePo.setLastName(Util.null2String(rs.getString("lastname")));
|
personnelResumePo.setLastName(Util.null2String(rs.getString("lastname")));
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue