generated from dxfeng/secondev-chapanda-feishu
转推其他职位BUG修复
This commit is contained in:
parent
be80417429
commit
e9fb81673e
|
|
@ -285,9 +285,9 @@ public class ApplicantResumeServiceImpl extends Service implements ApplicantResu
|
|||
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);
|
||||
rs.executeQuery("select id from uf_jcl_yppc where xm = ? and sjhm = ? and ypzw = ? and zt = 1 ", xm, sjhm, ypzw);
|
||||
}else{
|
||||
rs.executeQuery("select id from uf_jcl_yppc where xm = ? and (sjhm is null or sjhm = '') and ypzw = ?", xm, ypzw);
|
||||
rs.executeQuery("select id from uf_jcl_yppc where xm = ? and (sjhm is null or sjhm = '') and ypzw = ? and zt = 1 ", xm, ypzw);
|
||||
}
|
||||
if (rs.next()) {
|
||||
throw new CustomizeRunTimeException("该职位已在应聘中,无需重复应聘");
|
||||
|
|
|
|||
Loading…
Reference in New Issue