Commit b287c6f0 by 黄炜

feat(recruitment): 试岗编辑调整

1 parent 58e2b28d
......@@ -2055,11 +2055,6 @@ public class RecruitmentDemandService {
throw new RpcServiceException(RpcErrorEnum.BUSINESS_ERROR, "仅支持对个人新增的试岗人员进行编辑");
}
// 审批中(approval_result为空)不允许编辑
if (Objects.isNull(existing.getApprovalResult())) {
throw new RpcServiceException(RpcErrorEnum.BUSINESS_ERROR, "审批中不允许处理");
}
if (Objects.nonNull(existing.getProcessResult())) {
throw new RpcServiceException(RpcErrorEnum.BUSINESS_ERROR, "仅支持对待处理的试岗人员进行编辑");
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!