|
@@ -293,7 +293,9 @@ public class IntroduceInfoFacade extends IntroduceInfoServiceImpl {
|
|
|
|
|
|
//未关联的标签
|
|
|
QueryWrapper<QuestionInfo> unRelatedQuestionWrapper = new QueryWrapper<>();
|
|
|
- unRelatedQuestionWrapper.eq("is_deleted", IsDeleteEnum.N.getKey()).notIn("id", questionIds);
|
|
|
+ unRelatedQuestionWrapper.eq("is_deleted", IsDeleteEnum.N.getKey())
|
|
|
+ .eq("sub_type",0)
|
|
|
+ .notIn("id", questionIds);
|
|
|
List<QuestionInfo> unRelatedQuestionList = questionFacade.list(unRelatedQuestionWrapper);
|
|
|
List<QuestionShortDTO> unRelatedQuestionDTOList = Lists.newLinkedList();
|
|
|
for (QuestionInfo questionInfo : unRelatedQuestionList) {
|
|
@@ -313,7 +315,8 @@ public class IntroduceInfoFacade extends IntroduceInfoServiceImpl {
|
|
|
*/
|
|
|
public List<QuestionShortDTO> getAllQuestionList() {
|
|
|
QueryWrapper<QuestionInfo> unRelatedQuestionWrapper = new QueryWrapper<>();
|
|
|
- unRelatedQuestionWrapper.eq("is_deleted", IsDeleteEnum.N.getKey());
|
|
|
+ unRelatedQuestionWrapper.eq("is_deleted", IsDeleteEnum.N.getKey())
|
|
|
+ .eq("sub_type",0);
|
|
|
List<QuestionInfo> unRelatedQuestionList = questionFacade.list(unRelatedQuestionWrapper);
|
|
|
List<QuestionShortDTO> unRelatedQuestionDTOList = Lists.newLinkedList();
|
|
|
for (QuestionInfo questionInfo : unRelatedQuestionList) {
|