转推其他职位 BUG修复

This commit is contained in:
dxfeng 2024-12-17 13:55:17 +08:00
parent 69b1ead83e
commit f89605f3d9
1 changed files with 2 additions and 2 deletions

View File

@ -301,9 +301,9 @@ public class ApplicantResumeServiceImpl extends Service implements ApplicantResu
String xm = Util.null2String(mainDataMap.get("xm")); String xm = Util.null2String(mainDataMap.get("xm"));
String sjhm = Util.null2String(mainDataMap.get("sjhm")); String sjhm = Util.null2String(mainDataMap.get("sjhm"));
if (StringUtils.isNotBlank(sjhm)) { if (StringUtils.isNotBlank(sjhm)) {
rs.executeQuery("select id from uf_jcl_yppc where xm = ? and sjhm = ? and ypzw = ? and zt = 1 ", xm, sjhm, ypzw); rs.executeQuery("select id from uf_jcl_yppc where formmodeid is not null and xm = ? and sjhm = ? and ypzw = ? and zt = 1 ", xm, sjhm, ypzw);
} else { } else {
rs.executeQuery("select id from uf_jcl_yppc where xm = ? and (sjhm is null or sjhm = '') and ypzw = ? and zt = 1 ", xm, ypzw); rs.executeQuery("select id from uf_jcl_yppc where formmodeid is not null and xm = ? and (sjhm is null or sjhm = '') and ypzw = ? and zt = 1 ", xm, ypzw);
} }
if (rs.next()) { if (rs.next()) {
throw new CustomizeRunTimeException("该职位已在应聘中,无需重复应聘"); throw new CustomizeRunTimeException("该职位已在应聘中,无需重复应聘");