|
|
@ -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")));
|
|
|
|