Merge branch 'baotou-signup' of e.coding.net:tsteam/btsaqscksfwpt/system-examination-signup into baotou-signup

This commit is contained in:
wans 2021-05-15 19:42:37 +08:00
commit 4f7d48e4b1

View File

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