|
|
|
@ -598,7 +598,7 @@ public class ProvinceService implements IProvinceService { |
|
|
|
// }
|
|
|
|
//查找此公司此组别是否参加过这个项目
|
|
|
|
int num = competeCompanyDao.getNumByCompanyAndGroup(competeProject.getId(), player.getCompanyId(), player.getCompeteGroupId(), param.getCompeteTimeId()); |
|
|
|
if (num >= 2) { |
|
|
|
if (num >= 2 && competeProject.getCertificate() == 0) { |
|
|
|
throw new BaseException(CodeEnum.JOIN_PROJECT_NUM_FULL.mtProjectMsg1("该项目该组别")); |
|
|
|
} |
|
|
|
//查找个人参赛数量是否符合(个人比赛3个)
|
|
|
|
|