|
@@ -91,7 +91,7 @@ public class IntroduceInfoFacade extends IntroduceInfoServiceImpl {
|
|
|
QueryWrapper<QuestionInfo> questionInfoQueryWrapper = new QueryWrapper<>();
|
|
|
questionInfoQueryWrapper.eq("is_deleted", IsDeleteEnum.N.getKey())
|
|
|
.eq("tag_name", introduceByQuestionVO.getTagName())
|
|
|
- .eq("type", QuestionTypeEnum.Disease.getKey());
|
|
|
+ .eq("type", introduceByQuestionVO.getType());
|
|
|
QuestionInfo questionInfo = questionFacade.getOne(questionInfoQueryWrapper);
|
|
|
if (questionInfo == null) {
|
|
|
throw new CommonException(CommonErrorCode.NOT_EXISTS, "标签不存在");
|