五院 简历 + 积分库 功能更新
This commit is contained in:
parent
a6d0bd47db
commit
6e6f858050
|
|
@ -101,7 +101,7 @@ public class PersonnelResumeServiceImpl extends Service implements PersonnelResu
|
|||
RecordSet rs = new RecordSet();
|
||||
LinkedList<EducationOrWorkInfo> educationOrWorkInfos = new LinkedList<>();
|
||||
//教育经历
|
||||
rs.executeQuery("select rxsj,bysj,byyx,xxzy,xl from uf_jxjl where xm = ?",resourceId);
|
||||
rs.executeQuery("select rxsj,bysj,byyx,xxzy,xl1 from uf_jxjl where xm = ?",resourceId);
|
||||
EducationLevelComInfo educ = new EducationLevelComInfo();
|
||||
while (rs.next()) {
|
||||
String date = Util.null2String(rs.getString("rxsj")) +" - " + Util.null2String(rs.getString("bysj"));
|
||||
|
|
@ -111,7 +111,7 @@ public class PersonnelResumeServiceImpl extends Service implements PersonnelResu
|
|||
.startAndEndDate(date)
|
||||
.address(Util.null2String(rs.getString("byyx")))
|
||||
.content(Util.null2String(rs.getString("xxzy")))
|
||||
.level(educ.getEducationLevelname(Util.null2String(rs.getString("xl"))))
|
||||
.level(educ.getEducationLevelname(Util.null2String(rs.getString("xl1"))))
|
||||
.build());
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -24,15 +24,15 @@ public class PostionPointsUpdateCron extends BaseCronJob {
|
|||
|
||||
RecordSet rs = new RecordSet();
|
||||
List<PostionPoints> pointsList = new ArrayList<>();
|
||||
rs.executeQuery("select id,xm,zwdzlx,rzxzwsxrq,rznx,jftj from uf_yezwjfk");
|
||||
rs.executeQuery("select id,xm,zwdzlx,rbywzwcjqssj,rbywzwcjnx,rbywzwcjljjf from uf_ywzwxx");
|
||||
while (rs.next()) {
|
||||
pointsList.add(PostionPoints.builder()
|
||||
.id(Util.getIntValue(rs.getString("id")))
|
||||
.resourceId(Util.getIntValue(rs.getString("xm")))
|
||||
.changeType(Util.getIntValue(rs.getString("zwdzlx")))
|
||||
.jobStartDate(Util.null2String(rs.getString("rzxzwsxrq")))
|
||||
.jobYears(Util.null2String(rs.getString("rznx")))
|
||||
.points(Util.getIntValue(rs.getString("jftj"),0))
|
||||
.jobStartDate(Util.null2String(rs.getString("rbywzwcjqssj")))
|
||||
.jobYears(Util.null2String(rs.getString("rbywzwcjnx")))
|
||||
.points(Util.getIntValue(rs.getString("rbywzwcjljjf"),0))
|
||||
.build());
|
||||
}
|
||||
|
||||
|
|
@ -116,7 +116,7 @@ public class PostionPointsUpdateCron extends BaseCronJob {
|
|||
point.setPoints(point.getPoints() + extraPoints);
|
||||
}
|
||||
|
||||
rs.executeUpdate("update uf_yezwjfk set rznx = ?,jftj = ? where id = ?",point.getJobYears(),point.getPoints(),point.getId());
|
||||
rs.executeUpdate("update uf_ywzwxx set rbywzwcjnx = ?,rbywzwcjljjf = ? where id = ?",point.getJobYears(),point.getPoints(),point.getId());
|
||||
} catch (ParseException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue