浏览代码

新增职位关闭 提示

DESKTOP-VAEGFGM\zqc 2 月之前
父节点
当前提交
ea1020123a

+ 2 - 0
citu-framework/citu-common/src/main/java/com/citu/framework/common/exception/util/ServiceExceptionUtil.java

@@ -25,6 +25,8 @@ import java.util.concurrent.ConcurrentMap;
 @Slf4j
 public class ServiceExceptionUtil {
 
+
+
     /**
      * 错误码提示模板
      */

+ 3 - 0
menduner/menduner-system-biz/src/main/java/com/citu/module/menduner/system/service/job/JobCvRelServiceImpl.java

@@ -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();
         // 效验某段时间是否投递过