|
@@ -60,7 +60,8 @@ public class RetrievalFacade {
|
|
|
questionInfoQueryWrapper.eq("is_deleted", IsDeleteEnum.N.getKey())
|
|
|
.in("tag_name", questionNames)
|
|
|
.eq("type", retrievalVO.getType())
|
|
|
- .notIn("tag_type", 8);
|
|
|
+ .ne("tag_type", 8)
|
|
|
+ .eq("item_type", 0);
|
|
|
List<QuestionInfo> questionInfoList = questionFacade.list(questionInfoQueryWrapper);
|
|
|
Map<String, QuestionInfo> questionInfoMap = questionInfoList.stream().collect(Collectors.toMap(QuestionInfo::getTagName, questionInfo -> questionInfo));
|
|
|
RetrievalDTO retrievalDTO = new RetrievalDTO();
|
|
@@ -119,7 +120,8 @@ public class RetrievalFacade {
|
|
|
QueryWrapper<QuestionInfo> questionInfoQueryWrapper = new QueryWrapper<>();
|
|
|
questionInfoQueryWrapper.eq("is_deleted", IsDeleteEnum.N.getKey())
|
|
|
.in("tag_name", questionNames)
|
|
|
- .notIn("tag_type", 8)
|
|
|
+ .eq("item_type", 0)
|
|
|
+ .ne("tag_type", 8)
|
|
|
.in("type", typeList);
|
|
|
List<QuestionInfo> questionInfoList = questionFacade.list(questionInfoQueryWrapper);
|
|
|
Map<String, QuestionInfo> questionInfoMap = questionInfoList.stream().collect(Collectors.toMap(QuestionInfo::getTagName, questionInfo -> questionInfo));
|