generated from dxfeng/secondev-chapanda-feishu
初始化、面试反馈,转推其他职位BUG修复
This commit is contained in:
parent
be80417429
commit
6ad0272198
|
|
@ -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("该职位已在应聘中,无需重复应聘");
|
||||
|
|
|
|||
|
|
@ -44,11 +44,11 @@ public class InitRecruitDataServiceImpl extends Service implements InitRecruitDa
|
|||
@Override
|
||||
public Map<String, Object> initRecruitData() {
|
||||
RecordSet rs = new RecordSet();
|
||||
rs.executeUpdate("delete from uf_jcl_zplc;");
|
||||
rs.executeUpdate("delete from uf_jcl_zpjdsz;");
|
||||
rs.executeUpdate("delete from uf_jcl_zpjdsz_dt1;");
|
||||
rs.executeUpdate("delete from uf_jcl_zpjdsz_dt2;");
|
||||
rs.executeUpdate("delete from uf_jcl_lcczan;");
|
||||
rs.executeUpdate("delete from uf_jcl_zplc");
|
||||
rs.executeUpdate("delete from uf_jcl_zpjdsz");
|
||||
rs.executeUpdate("delete from uf_jcl_zpjdsz_dt1");
|
||||
rs.executeUpdate("delete from uf_jcl_zpjdsz_dt2");
|
||||
rs.executeUpdate("delete from uf_jcl_lcczan");
|
||||
// 刷新页面菜单
|
||||
rs.executeQuery("select * from hp_nonstandard_function_info where num='163' and name ='招聘管理'");
|
||||
if (rs.next()) {
|
||||
|
|
|
|||
|
|
@ -63,8 +63,10 @@ public class RecruitInterviewServiceImpl extends Service implements RecruitInter
|
|||
String msgContent = "应聘者:$ypz$,确认参加面试,请知悉。<br/>" +
|
||||
"面试时间:$msrq$;面试官:$msg$";
|
||||
msgContent = RecruitModeUtil.getMsgReplaceStr(msgContent, fieldMap, mainDataMap);
|
||||
String msg = Util.null2String(mainDataMap.get("msg"));
|
||||
Set<String> userIdSet = new HashSet<>();
|
||||
userIdSet.add(Util.null2String(mainDataMap.get("modedatacreater")));
|
||||
userIdSet.addAll(Arrays.asList(msg.split(",")));
|
||||
RecruitModeUtil.messagePush(RecruitConstant.INTERVIEW_MESSAGE_TYPE, "面试反馈通知", msgContent, userIdSet, 1);
|
||||
} else if ("1".equals(status)) {
|
||||
returnMap.put("type", "info");
|
||||
|
|
|
|||
Loading…
Reference in New Issue