|
@@ -138,7 +138,7 @@ public class ExamNumberServiceImpl extends ServiceImpl<ExamNumberMapper, ExamNum
|
|
|
examNumberQueryBo.setGoodsId(goodsId);
|
|
|
List<ExamNumberVo> examNumberVos = baseMapper.ListExamNumber(examNumberQueryBo);
|
|
|
if (CollectionUtils.isNotEmpty(examNumberVos)) {
|
|
|
- throw new IllegalArgumentException("考次存在商品已启用考次配置,不可开启,请重新创建新的考次配置商品");
|
|
|
+ throw new IllegalArgumentException("当前商品已启用考次配置,不可开启,请重新创建新的配置考试次数和前培次数商品");
|
|
|
}
|
|
|
}
|
|
|
ExamNumberGoodsAddBo examNumberGoodsAddBo = new ExamNumberGoodsAddBo();
|