报名验证修改
This commit is contained in:
parent
45653ccc98
commit
d57d5f1f5c
@ -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("该机构以截止报名");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user