|
@@ -94,7 +94,7 @@ public class QuestionWrongController extends BaseController{
|
|
|
List<QuestionWrong> list = questionWrongService.selectQuestionWrongList(dto);
|
|
|
long count = list.stream().filter(o -> questionWrongDTO.getQuestionId().equals(o.getQuestionId())).count();
|
|
|
if (count > 0) {
|
|
|
- throw new CustomException("该错目已收藏");
|
|
|
+ throw new CustomException("");
|
|
|
}
|
|
|
QuestionWrong questionWrong = new QuestionWrong();
|
|
|
BeanUtils.copyProperties(questionWrongDTO,questionWrong);
|