|
|
@@ -336,9 +336,9 @@ public class UserStudyRecordServiceImpl extends ServiceImpl<UserStudyRecordMappe
|
|
|
UserPeriodStatusVo userPeriodStatusVo = userPeriodStatusVos.get(numIndex);
|
|
|
LambdaQueryWrapper<UserStudyRecordPhoto> lqw = Wrappers.lambdaQuery();
|
|
|
lqw.eq(UserStudyRecordPhoto::getPeriodId, userPeriodStatusVo.getId());
|
|
|
- List<UserStudyRecordPhoto> examPhoto = userStudyRecordPhotoService.list(lqw);
|
|
|
- if(examPhoto.size()<num){
|
|
|
- throw new CustomException("拍照次数不达标");
|
|
|
+ List<UserStudyRecordPhoto> photoList = userStudyRecordPhotoService.list(lqw);
|
|
|
+ if(photoList.size()<num){
|
|
|
+ throw new CustomException("拍照次数不达标",559);
|
|
|
}
|
|
|
}
|
|
|
}
|