generated from dxfeng/secondev-chapanda-feishu
ADD-转推其他职位,判重
This commit is contained in:
parent
9114da5c42
commit
aa21ef8fdf
|
|
@ -261,6 +261,20 @@ public class ApplicantResumeServiceImpl extends Service implements ApplicantResu
|
||||||
|
|
||||||
rs.executeQuery("select * from uf_jcl_yppc where id = ?", sourceId);
|
rs.executeQuery("select * from uf_jcl_yppc where id = ?", sourceId);
|
||||||
Map<String, Object> mainDataMap = RecruitRecordSet.getSingleRecordMap(rs);
|
Map<String, Object> mainDataMap = RecruitRecordSet.getSingleRecordMap(rs);
|
||||||
|
|
||||||
|
// 转推其他职位的时候,如果选择的职位存在候选中的
|
||||||
|
// 提示:该职位已在应聘中,无需重复应聘
|
||||||
|
String xm = Util.null2String(mainDataMap.get("xm"));
|
||||||
|
String sjhm = Util.null2String(mainDataMap.get("sjhm"));
|
||||||
|
if(StringUtils.isNotBlank(sjhm)) {
|
||||||
|
rs.executeQuery("select id from uf_jcl_yppc where xm = ? and sjhm = ? and ypzw = ?", xm, sjhm, ypzw);
|
||||||
|
}else{
|
||||||
|
rs.executeQuery("select id from uf_jcl_yppc where xm = ? and (sjhm is null or sjhm = '') and ypzw = ?", xm, ypzw);
|
||||||
|
}
|
||||||
|
if (rs.next()) {
|
||||||
|
throw new CustomizeRunTimeException("该职位已在应聘中,无需重复应聘");
|
||||||
|
}
|
||||||
|
|
||||||
// 构建新数据
|
// 构建新数据
|
||||||
mainDataMap.put("ypzw", ypzw);
|
mainDataMap.put("ypzw", ypzw);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue