From e9fb81673ea5089f8fa14119fde6e15b59df00e7 Mon Sep 17 00:00:00 2001 From: dxfeng Date: Tue, 12 Nov 2024 14:19:14 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BD=AC=E6=8E=A8=E5=85=B6=E4=BB=96=E8=81=8C?= =?UTF-8?q?=E4=BD=8DBUG=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../recruit/service/impl/ApplicantResumeServiceImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/com/engine/recruit/service/impl/ApplicantResumeServiceImpl.java b/src/com/engine/recruit/service/impl/ApplicantResumeServiceImpl.java index 77b408b..cbece34 100644 --- a/src/com/engine/recruit/service/impl/ApplicantResumeServiceImpl.java +++ b/src/com/engine/recruit/service/impl/ApplicantResumeServiceImpl.java @@ -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("该职位已在应聘中,无需重复应聘");