generated from dxfeng/secondev-chapanda-feishu
BUG修复
This commit is contained in:
parent
4cd6bcfa9c
commit
f9c54c103a
|
|
@ -203,9 +203,18 @@ public class ApplicantResumeServiceImpl extends Service implements ApplicantResu
|
|||
// 分配职位
|
||||
String billid = Util.null2String(params.get("billid"));
|
||||
String ypzw = Util.null2String(params.get("ypzw"));
|
||||
if (StringUtils.isNotBlank(ypzw)) {
|
||||
rs.executeUpdate("update uf_jcl_yppc set ypzw = ? , zt = 1 where id = ?", ypzw, billid);
|
||||
if (StringUtils.isBlank(ypzw)) {
|
||||
throw new CustomizeRunTimeException("应聘职位不可为空");
|
||||
}
|
||||
String flowId = PositionCommonInfo.getRecruitFlowId(ypzw);
|
||||
Map<String, String> initialStage = ApplicantCommonInfo.getInitialStage(flowId);
|
||||
String zpjd = "";
|
||||
String dqypjd = "";
|
||||
if (null != initialStage) {
|
||||
zpjd = initialStage.get("zpjd");
|
||||
dqypjd = initialStage.get("jdlx");
|
||||
}
|
||||
rs.executeUpdate("update uf_jcl_yppc set ypzw = ? , zplc = ? , zpjd = ? , dqypjd = ?, zt = 1 where id = ?", ypzw, flowId, zpjd, dqypjd, billid);
|
||||
returnMap.put("msg", "操作成功");
|
||||
} else if (ApplicantOperateEnum.ARCHIVE.getOperateType().equals(operateType)) {
|
||||
// 归档人才库
|
||||
|
|
@ -237,7 +246,7 @@ public class ApplicantResumeServiceImpl extends Service implements ApplicantResu
|
|||
recordPo.execute();
|
||||
}
|
||||
} else {
|
||||
returnMap.put("msg", "请至少选择一条数据");
|
||||
throw new CustomizeRunTimeException("请至少选择一条数据");
|
||||
}
|
||||
} else if (ApplicantOperateEnum.REFERRAL.getOperateType().equals(operateType)) {
|
||||
// 转推其他职位
|
||||
|
|
|
|||
|
|
@ -20,6 +20,7 @@ import java.util.Map;
|
|||
* @createTime: 2023/10/18
|
||||
* @version: 1.0
|
||||
*/
|
||||
@Deprecated
|
||||
public class PositionRelatedStageExpand extends AbstractModeExpandJavaCodeNew {
|
||||
@Override
|
||||
public Map<String, String> doModeExpand(Map<String, Object> param) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue