change 3 lat temu
rodzic
commit
6fbf289d49

+ 1 - 1
zhongzheng-system/src/main/java/com/zhongzheng/modules/exam/service/impl/ExamNumberServiceImpl.java

@@ -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();