|
@@ -161,9 +161,9 @@ public class ExamBeforeServiceImpl extends ServiceImpl<ExamBeforeMapper, ExamBef
|
|
@Override
|
|
@Override
|
|
public ExamBeforeVo getAddressInfo(ExamBeforeQueryBo examBeforeQueryBo) {
|
|
public ExamBeforeVo getAddressInfo(ExamBeforeQueryBo examBeforeQueryBo) {
|
|
Long verLong = baseMapper.verifyInfo(examBeforeQueryBo.getGoodsId());
|
|
Long verLong = baseMapper.verifyInfo(examBeforeQueryBo.getGoodsId());
|
|
- /* if (verLong < 1){
|
|
|
|
|
|
+ if (verLong < 1){
|
|
throw new IllegalArgumentException("您不符合考前刷题条件,请先预约考试,或者咨询相关工作人员,了解使用条件。");
|
|
throw new IllegalArgumentException("您不符合考前刷题条件,请先预约考试,或者咨询相关工作人员,了解使用条件。");
|
|
- }*/
|
|
|
|
|
|
+ }
|
|
ExamBeforeVo examBeforeVo = baseMapper.verifyExamBeforeVo(examBeforeQueryBo);
|
|
ExamBeforeVo examBeforeVo = baseMapper.verifyExamBeforeVo(examBeforeQueryBo);
|
|
return examBeforeVo;
|
|
return examBeforeVo;
|
|
}
|
|
}
|