|
|
@@ -54,10 +54,9 @@ public class QuestionThirdPartyServiceImpl implements QuestionThirdPartyService
|
|
|
|
|
|
@Override
|
|
|
public QuestionStemListVO getQuestionList(String stem, List<String> tags, List<String> knowledgeIds, Pageable pageable) {
|
|
|
- //String stem, List<String> tags, List<QuestionType> types, List<Integer> weights, List<String> knowledgeIds, Pageable pageable
|
|
|
-// Page<QuestionVO> questionVOPageList = client.getQuestionList(stem, tags, knowledgeIds, pageable);
|
|
|
-// return new QuestionStemListVO(BeanCopyUtil.copyListProperties(questionVOPageList.toList(), QuestionStemVO::new), (int) questionVOPageList.getTotalElements());
|
|
|
- return null;
|
|
|
+// String stem, List<String> tags, List<QuestionType> types, List<Integer> weights, List<String> knowledgeIds, Pageable pageable
|
|
|
+ Page<QuestionVO> questionVOPageList = client.getQuestionList(stem, tags,null,null, knowledgeIds, pageable);
|
|
|
+ return new QuestionStemListVO(BeanCopyUtil.copyListProperties(questionVOPageList.toList(), QuestionStemVO::new), (int) questionVOPageList.getTotalElements());
|
|
|
}
|
|
|
|
|
|
@Override
|