|
@@ -121,7 +121,7 @@ public class ExamApplyServiceImpl extends ServiceImpl<ExamApplyMapper, ExamApply
|
|
throw new CustomException("请先设置考试地点和时间");
|
|
throw new CustomException("请先设置考试地点和时间");
|
|
}
|
|
}
|
|
//考试计划内的商品是否被其他计划使用
|
|
//考试计划内的商品是否被其他计划使用
|
|
- List<Long> contGoods = baseMapper.countGoodsHold(bo.getApplyId());
|
|
|
|
|
|
+ /*List<Long> contGoods = baseMapper.countGoodsHold(bo.getApplyId());
|
|
if (CollectionUtils.isNotEmpty(contGoods)){
|
|
if (CollectionUtils.isNotEmpty(contGoods)){
|
|
String goodsName ="";
|
|
String goodsName ="";
|
|
for (Long goodsId : contGoods) {
|
|
for (Long goodsId : contGoods) {
|
|
@@ -133,7 +133,7 @@ public class ExamApplyServiceImpl extends ServiceImpl<ExamApplyMapper, ExamApply
|
|
}
|
|
}
|
|
}
|
|
}
|
|
throw new RuntimeException(goodsName+"已被其他进行中的考试计划使用,请修改,再启用");
|
|
throw new RuntimeException(goodsName+"已被其他进行中的考试计划使用,请修改,再启用");
|
|
- }
|
|
|
|
|
|
+ }*/
|
|
}
|
|
}
|
|
if(bo.getStatus()==-1){
|
|
if(bo.getStatus()==-1){
|
|
ExamApplyQueryBo queryBo = new ExamApplyQueryBo();
|
|
ExamApplyQueryBo queryBo = new ExamApplyQueryBo();
|