教育经历获取信息唯一条件替换为 人员编号

盛虹化纤
Chengliang 4 weeks ago
parent 5f457e74f6
commit 8455845969

@ -215,12 +215,15 @@ public class PersonnelResumeServiceImpl extends Service implements PersonnelResu
return trainingInfoList; return trainingInfoList;
} }
@SneakyThrows
private List<EducationInfo> selectEducInfo(String resourceId) { private List<EducationInfo> selectEducInfo(String resourceId) {
RecordSet rs = new RecordSet(); RecordSet rs = new RecordSet();
EducationLevelComInfo eduComInfo = new EducationLevelComInfo(); EducationLevelComInfo eduComInfo = new EducationLevelComInfo();
ResourceComInfo resourceComInfo = new ResourceComInfo();
String workcode = resourceComInfo.getWorkcode(resourceId);
List<EducationInfo> educationInfoList = new ArrayList<>(); List<EducationInfo> educationInfoList = new ArrayList<>();
rs.executeQuery("select ksrq,jsrq,byyx,xl,xw,zy from uf_jyjl where xm = ?",resourceId); rs.executeQuery("select ksrq,jsrq,byyx,xl,xw,zy from uf_jyjl where bh = ?",workcode);
while (rs.next()) { while (rs.next()) {
String date = Util.null2String(rs.getString("ksrq")) +" 至 " + Util.null2String(rs.getString("jsrq")); String date = Util.null2String(rs.getString("ksrq")) +" 至 " + Util.null2String(rs.getString("jsrq"));
String educationalAndDegree = eduComInfo.getEducationLevelname(Util.null2String(rs.getString("xl"))) +" / " String educationalAndDegree = eduComInfo.getEducationLevelname(Util.null2String(rs.getString("xl"))) +" / "

Loading…
Cancel
Save