报名验证修改

This commit is contained in:
ly19960718 2021-05-15 19:13:23 +08:00
parent 45653ccc98
commit d57d5f1f5c

View File

@ -325,8 +325,8 @@ public class ApplyServiceImpl extends DefaultBaseService implements IApplyServic
if(checkApplyIsFirst(creator,applyWorkTypeId,null) != 0){
throw new SaveException("您选择的工种已报名过其他培训机构");
}
if(!examCheckService.getExamCheck(applyWorkTypeId,applyInstitutionId)){
throw new SaveException("该机构不能报名");
if(!examCheckService.getExamCheckFailOrBack(applyWorkTypeId,applyInstitutionId)){
throw new SaveException("该机构暂时不能报名");
}
@ -376,7 +376,7 @@ public class ApplyServiceImpl extends DefaultBaseService implements IApplyServic
throw new SaveException("您选择的工种已报名过其他培训机构");
}
if(!examCheckService.getExamCheck(applyWorkTypeId,applyInstitutionId)){
if(!examCheckService.getExamCheckFailOrBack(applyWorkTypeId,applyInstitutionId)){
throw new SaveException("该机构以截止报名");
}