updates 网页端限制志愿填报数量35个
This commit is contained in:
parent
9001d70b6d
commit
0fea2ca6ae
|
|
@ -447,6 +447,9 @@ public class YxVolunteerServiceImpl extends ServiceImpl<YxVolunteerMapper, YxVol
|
|||
String volunteerId = activeByCreateVolunteerDto.getId();
|
||||
YxCalculationMajor calculationMajor = null;
|
||||
for (YxVolunteerRecord yxVolunteerRecord : volunteerRecordList) {
|
||||
if (yxVolunteerRecord.getIndexs()>35) {
|
||||
throw new JeecgBootException("各批次仅可加35个志愿");
|
||||
}
|
||||
//判断有没有专业Id
|
||||
if (StringUtils.isBlank(yxVolunteerRecord.getCalculationMajorId())) {
|
||||
continue;
|
||||
|
|
|
|||
Loading…
Reference in New Issue