generated from dxfeng/secondev-chapanda-feishu
面试评价 不录用 归档到人才库
This commit is contained in:
parent
c5c9a5258a
commit
bb2cff29d4
|
|
@ -0,0 +1,66 @@
|
||||||
|
package weaver.interfaces.recruit.action;
|
||||||
|
|
||||||
|
import com.engine.common.util.ServiceUtil;
|
||||||
|
import com.engine.recruit.enums.ApplicationStatusEnum;
|
||||||
|
import com.engine.recruit.service.impl.ApplicantResumeServiceImpl;
|
||||||
|
import org.apache.commons.lang3.StringUtils;
|
||||||
|
import weaver.conn.RecordSet;
|
||||||
|
import weaver.general.Util;
|
||||||
|
import weaver.hrm.User;
|
||||||
|
import weaver.interfaces.workflow.action.Action;
|
||||||
|
import weaver.soa.workflow.request.MainTableInfo;
|
||||||
|
import weaver.soa.workflow.request.Property;
|
||||||
|
import weaver.soa.workflow.request.RequestInfo;
|
||||||
|
|
||||||
|
import java.util.HashMap;
|
||||||
|
import java.util.Map;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author:dxfeng
|
||||||
|
* @createTime: 2024/12/12
|
||||||
|
* @version: 1.0
|
||||||
|
*/
|
||||||
|
public class InterviewEvaluationAction implements Action {
|
||||||
|
@Override
|
||||||
|
public String execute(RequestInfo requestInfo) {
|
||||||
|
RecordSet rs = new RecordSet();
|
||||||
|
try {
|
||||||
|
User user = requestInfo.getRequestManager().getUser();
|
||||||
|
MainTableInfo mainTableInfo = requestInfo.getMainTableInfo();
|
||||||
|
Map<String, Object> mainDataMap = new HashMap<>(16);
|
||||||
|
|
||||||
|
String requestId = requestInfo.getRequestid();
|
||||||
|
|
||||||
|
Property[] propertyArray = mainTableInfo.getProperty();
|
||||||
|
for (Property property : propertyArray) {
|
||||||
|
mainDataMap.put(property.getName(), property.getValue());
|
||||||
|
}
|
||||||
|
|
||||||
|
// 面试评价,录用状态
|
||||||
|
String lyqk = Util.null2String(mainDataMap.get("lyqk"));
|
||||||
|
if (StringUtils.isBlank(lyqk)) {
|
||||||
|
requestInfo.getRequestManager().setMessagecontent("录用情况不能为空");
|
||||||
|
return FAILURE_AND_CONTINUE;
|
||||||
|
}
|
||||||
|
|
||||||
|
if ("1".equals(lyqk)) {
|
||||||
|
// 不录用
|
||||||
|
String ypz = Util.null2String(mainDataMap.get("ypz"));
|
||||||
|
ServiceUtil.getService(ApplicantResumeServiceImpl.class, user).archiveTalentPool(ypz, false,"18","面试评价流程未通过");
|
||||||
|
|
||||||
|
// 更新应聘简历为已淘汰
|
||||||
|
rs.executeUpdate("update uf_jcl_yppc set zt = ? where id = ?", ApplicationStatusEnum.OBSOLETE.getValue(), ypz);
|
||||||
|
}
|
||||||
|
|
||||||
|
// 更新录用状态,到面试台账
|
||||||
|
rs.executeUpdate("update uf_jcl_ms set mspjjg = ? where mspjlc = ?", lyqk, requestId);
|
||||||
|
|
||||||
|
|
||||||
|
return SUCCESS;
|
||||||
|
} catch (Exception e) {
|
||||||
|
rs.writeLog("InterviewEvaluationAction--error", e);
|
||||||
|
requestInfo.getRequestManager().setMessagecontent(e.getMessage());
|
||||||
|
return FAILURE_AND_CONTINUE;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -1,47 +0,0 @@
|
||||||
#############################消息提醒相关配置##############################
|
|
||||||
|
|
||||||
#聚才林默认招聘消息提醒,消息来源(消息来源ID获取方式:==》应用中心-消息中心-消息类型设置>>>>消息来源-列中字段中的绑定标识)
|
|
||||||
RECRUIT_MESSAGE_TYPE=2022061063
|
|
||||||
|
|
||||||
|
|
||||||
#面试反馈消息提醒,消息来源
|
|
||||||
INTERVIEW_MESSAGE_TYPE=2022061063
|
|
||||||
#添加面试消息提醒标题
|
|
||||||
INTERVIEW_ADD_MESSAGE_TITLE=面试安排提醒
|
|
||||||
#取消面试消息提醒标题
|
|
||||||
INTERVIEW_CANCEL_MESSAGE_TITLE=取消面试提醒
|
|
||||||
#面试评价消息提醒标题
|
|
||||||
INTERVIEW_EVALUATE_MESSAGE_TITLE=面试评价提醒
|
|
||||||
|
|
||||||
|
|
||||||
#人才黑名单通知
|
|
||||||
JOIN_BLACKLIST_MESSAGE_TITLE=人才黑名单通知
|
|
||||||
|
|
||||||
#筛选反馈
|
|
||||||
#筛选反馈消息提醒,消息来源
|
|
||||||
SCREENING_MESSAGE_TYPE=2022061063
|
|
||||||
#筛选反馈,消息提醒标题
|
|
||||||
SCREENING_MESSAGE_TITLE=简历筛选
|
|
||||||
#筛选反馈,消息提醒链接地址(需替换下面链接地址的ID,ID获取方式:==》建模引擎-应用建模-查询>>>>聚才林招聘管理-应聘者简历-筛选反馈)
|
|
||||||
SCREENING_MESSAGE_URL=/wui/index.html#/main/cube/search?customid=64
|
|
||||||
|
|
||||||
|
|
||||||
#############################移动建模相关配置##############################
|
|
||||||
#配置获取路径:移动引擎-应用建模-应用
|
|
||||||
#APPID获取方式:选择对应的应用,页面即展示对应ID
|
|
||||||
#移动建模地址获取方式:选择对应的应用,鼠标右键>>免登陆访问设置,即可复制应用访问地址
|
|
||||||
|
|
||||||
#信息采集移动建模APPID
|
|
||||||
MOBILE_APPID_COLLECT=3
|
|
||||||
#信息采集移动建模地址
|
|
||||||
COLLECT_MESSAGE_LINK=http://ip:port/mobilemode/mobile/view.html?appid=3&mTokenFrom=anonymous&mToken=6B56BDC3C4233A984BA4BCE626FD44CF
|
|
||||||
|
|
||||||
#offer移动建模APPID
|
|
||||||
MOBILE_APPID_OFFER=2
|
|
||||||
#offer反馈移动建模地址
|
|
||||||
OFFER_MOBILE_URL=http://ip:port/mobilemode/mobile/view.html?appid=2&mTokenFrom=anonymous&mToken=C13059E5D6B68D0F23BC30B80E440C42
|
|
||||||
|
|
||||||
|
|
||||||
#############################文档目录相关配置##############################
|
|
||||||
#原始简历附件目录ID(后端引擎-内容引擎-目录设置-文档目录>>>>招聘-原始简历附件)
|
|
||||||
APPLICANTS_RESUMES_CATEGORY=110
|
|
||||||
|
|
@ -1,69 +0,0 @@
|
||||||
#简历智能抽取服务-千里聆地址
|
|
||||||
qianlilingurl=https://open.easst.cn/openapi/rest/resume
|
|
||||||
#appid
|
|
||||||
appId=66666666
|
|
||||||
#appSecret
|
|
||||||
appSecret=66666666666666666666666666666666
|
|
||||||
#模块-简历库id
|
|
||||||
model.id=71
|
|
||||||
|
|
||||||
|
|
||||||
#是否使用自建,0不使用1使用
|
|
||||||
sfsymr=1
|
|
||||||
#自建表-表名
|
|
||||||
jlk.tablename=uf_jcl_jlzjb
|
|
||||||
#字段映射
|
|
||||||
#姓名
|
|
||||||
rmxm=xm
|
|
||||||
#性别
|
|
||||||
xb=xb
|
|
||||||
#出生日期
|
|
||||||
csrq=csrq
|
|
||||||
#籍贯
|
|
||||||
jg=jg
|
|
||||||
#电子邮箱
|
|
||||||
email=yx
|
|
||||||
#微信
|
|
||||||
wx=wx
|
|
||||||
#QQ
|
|
||||||
qq=qq
|
|
||||||
#现居住地
|
|
||||||
jzd=xjzd
|
|
||||||
#爱好
|
|
||||||
ah=ah
|
|
||||||
#个人评价
|
|
||||||
grpj=grys
|
|
||||||
#学业信息
|
|
||||||
xyxg=jyjl
|
|
||||||
#毕业时间
|
|
||||||
bysj=bysj
|
|
||||||
#最高学历
|
|
||||||
zgxl=zgxl
|
|
||||||
#专业技能
|
|
||||||
zyjn=zyjn
|
|
||||||
#实习经历
|
|
||||||
sxjl=gzjl
|
|
||||||
#英语水平
|
|
||||||
yysp=yysp
|
|
||||||
#技能证书
|
|
||||||
jnzs=zs
|
|
||||||
#校园经历
|
|
||||||
#xyjl=xyjl
|
|
||||||
#工作信息
|
|
||||||
gzxg=gzjl
|
|
||||||
#期望从事岗位
|
|
||||||
qwcsgw=ypzw
|
|
||||||
#工作经验
|
|
||||||
gzjy1=gzjy
|
|
||||||
#期望薪资
|
|
||||||
#qwxz=qwsqyxk
|
|
||||||
#期望工作地点
|
|
||||||
#qwgzdd=qwgzdd
|
|
||||||
#项目经历
|
|
||||||
xmjl=xmjl
|
|
||||||
#手机号码
|
|
||||||
sjhm=sjhm
|
|
||||||
#年龄
|
|
||||||
nl=nl
|
|
||||||
#身份证
|
|
||||||
sfz=sfz
|
|
||||||
|
|
@ -1,69 +0,0 @@
|
||||||
host=http://youyun.market.alicloudapi.com
|
|
||||||
path=/
|
|
||||||
method=POST
|
|
||||||
#appcode
|
|
||||||
appcode=66666666666666666666666666666666
|
|
||||||
#是否使用自建,0不使用1使用
|
|
||||||
sfsymr=1
|
|
||||||
#模块-简历库id
|
|
||||||
formmodeid=71
|
|
||||||
|
|
||||||
#自建表-表名
|
|
||||||
tablename=uf_jcl_jlzjb
|
|
||||||
|
|
||||||
|
|
||||||
#姓名
|
|
||||||
rmxm=xm
|
|
||||||
#性别
|
|
||||||
xb=xb
|
|
||||||
#出生日期
|
|
||||||
csrq=csrq
|
|
||||||
#籍贯
|
|
||||||
jg=jg
|
|
||||||
#电子邮箱
|
|
||||||
email=yx
|
|
||||||
#微信
|
|
||||||
wx=wx
|
|
||||||
#QQ
|
|
||||||
qq=qq
|
|
||||||
#现居住地
|
|
||||||
jzd=xjzd
|
|
||||||
#爱好
|
|
||||||
ah=ah
|
|
||||||
#个人评价
|
|
||||||
grpj=grys
|
|
||||||
#学业信息
|
|
||||||
xyxg=jyjl
|
|
||||||
#毕业时间
|
|
||||||
bysj=bysj
|
|
||||||
#最高学历
|
|
||||||
zgxl=zgxl
|
|
||||||
#专业技能
|
|
||||||
zyjn=zyjn
|
|
||||||
#实习经历
|
|
||||||
sxjl=sxjl
|
|
||||||
#英语水平
|
|
||||||
yysp=yysp
|
|
||||||
#技能证书
|
|
||||||
jnzs=zs
|
|
||||||
#校园经历
|
|
||||||
#xyjl=xyjl
|
|
||||||
#工作信息
|
|
||||||
gzxg=gzjl
|
|
||||||
#期望从事岗位
|
|
||||||
qwcsgw=ypzw
|
|
||||||
#工作经验
|
|
||||||
gzjy1=gzjy
|
|
||||||
#期望薪资
|
|
||||||
#qwxz=qwsqyxk
|
|
||||||
#期望工作地点
|
|
||||||
#qwgzdd=qwgzdd
|
|
||||||
#项目经历
|
|
||||||
xmjl=xmjl
|
|
||||||
#手机号码
|
|
||||||
sjhm=sjhm
|
|
||||||
#年龄
|
|
||||||
nl=nl
|
|
||||||
#身份证
|
|
||||||
sfz=sfz
|
|
||||||
|
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue