|
@@ -2,6 +2,7 @@ package com.miaxis.open.controller;
|
|
|
|
|
|
import com.miaxis.common.constant.Constants;
|
|
|
import com.miaxis.common.core.controller.BaseController;
|
|
|
+import com.miaxis.common.core.domain.Response;
|
|
|
import com.miaxis.common.core.page.ResponsePageInfo;
|
|
|
import com.miaxis.question.domain.QuestionInfo;
|
|
|
import com.miaxis.question.dto.QuestionInfoTestDTO;
|
|
@@ -30,7 +31,7 @@ public class CommonQuestionInfoController extends BaseController {
|
|
|
private IQuestionInfoService questionInfoService;
|
|
|
|
|
|
/**
|
|
|
- * 查询模拟考试科目1与4题库
|
|
|
+ * 查询模拟考试科目1与4题库 //完成部署后,可以删掉
|
|
|
*/
|
|
|
@GetMapping("/selectTestK14QuestionInfoList")
|
|
|
@ApiOperation("取模拟考试题库")
|
|
@@ -39,6 +40,17 @@ public class CommonQuestionInfoController extends BaseController {
|
|
|
return toResponsePageInfo(list);
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 查询模拟考试科目1与4题库
|
|
|
+ */
|
|
|
+ @GetMapping("/selectTestK14QuestionInfoListnN")
|
|
|
+ @ApiOperation("取模拟考试题库-无分页")
|
|
|
+ public Response<List<QuestionInfo>> selectTestK14QuestionInfoListN(@ModelAttribute QuestionInfoTestDTO questionInfoTestDTO){
|
|
|
+ List<QuestionInfo> list = questionInfoService.selectTestK14QuestionInfoList(questionInfoTestDTO);
|
|
|
+ System.out.println(list);
|
|
|
+ return Response.success(list);
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* 查询模拟考试科目1与4题库
|
|
|
*/
|