Sfoglia il codice sorgente

fix: 获取题目列表第三方服务更新

TianChenjiang 5 anni fa
parent
commit
7c059c0300

+ 4 - 2
src/main/java/com/nju/edu/eval/thirdparty/thirdpartyImpl/QuestionThirdPartyServiceImpl.java

@@ -54,8 +54,10 @@ public class QuestionThirdPartyServiceImpl implements QuestionThirdPartyService
 
     @Override
     public QuestionStemListVO getQuestionList(String stem, List<String> tags, 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());
+        //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;
     }
 
     @Override

+ 0 - 13
src/test/java/com/nju/edu/eval/EvalApplicationTests.java

@@ -1,13 +0,0 @@
-package com.nju.edu.eval;
-
-import org.junit.jupiter.api.Test;
-import org.springframework.boot.test.context.SpringBootTest;
-
-@SpringBootTest
-class EvalApplicationTests {
-
-	@Test
-	void contextLoads() {
-	}
-
-}