diff --git a/src/main/java/cn/com/tenlion/service/apply/impl/ApplyServiceImpl.java b/src/main/java/cn/com/tenlion/service/apply/impl/ApplyServiceImpl.java index a304d3e..9abdedc 100644 --- a/src/main/java/cn/com/tenlion/service/apply/impl/ApplyServiceImpl.java +++ b/src/main/java/cn/com/tenlion/service/apply/impl/ApplyServiceImpl.java @@ -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("该机构以截止报名"); }