@@ -25,6 +25,8 @@ import java.util.concurrent.ConcurrentMap;
@Slf4j
public class ServiceExceptionUtil {
+
/**
* 错误码提示模板
*/
@@ -141,6 +141,9 @@ public class JobCvRelServiceImpl implements JobCvRelService {
public Long send(AppJobCvRelReqVO reqVO) {
// 效验职位是否关闭
JobAdvertisedDO job = jobAdvertisedService.getJobAdvertised(reqVO.getJobId());
+ if(null ==job){
+ throw exception(JOB_CV_REL_JOB_STOP_DELIVERY);
+ }
Long userId = LoginUserContext.getUserId();
// 效验某段时间是否投递过