|
@@ -6,7 +6,10 @@ import java.util.Arrays;
|
|
|
import com.zhongzheng.modules.bank.bo.ExamAddBo;
|
|
|
import com.zhongzheng.modules.bank.bo.ExamEditBo;
|
|
|
import com.zhongzheng.modules.bank.bo.ExamQueryBo;
|
|
|
+import com.zhongzheng.modules.bank.bo.QuestionBusinessQueryBo;
|
|
|
+import com.zhongzheng.modules.bank.domain.QuestionBusiness;
|
|
|
import com.zhongzheng.modules.bank.service.IExamService;
|
|
|
+import com.zhongzheng.modules.bank.service.IQuestionBusinessService;
|
|
|
import com.zhongzheng.modules.bank.vo.ExamVo;
|
|
|
import lombok.RequiredArgsConstructor;
|
|
|
import org.springframework.security.access.prepost.PreAuthorize;
|
|
@@ -42,6 +45,8 @@ public class ExamController extends BaseController {
|
|
|
|
|
|
private final IExamService iExamService;
|
|
|
|
|
|
+ private final IQuestionBusinessService iQuestionBusinessService;
|
|
|
+
|
|
|
/**
|
|
|
* 查询试卷列表
|
|
|
*/
|
|
@@ -109,4 +114,15 @@ public class ExamController extends BaseController {
|
|
|
public AjaxResult<Void> remove(@PathVariable Long[] examIds) {
|
|
|
return toAjax(iExamService.deleteWithValidByIds(Arrays.asList(examIds), true) ? 1 : 0);
|
|
|
}*/
|
|
|
+ /**
|
|
|
+ * 查询题目业务层次关系列表
|
|
|
+ */
|
|
|
+ @ApiOperation("查询业务层次关系列表")
|
|
|
+ @PreAuthorize("@ss.hasPermi('system:business:list')")
|
|
|
+ @GetMapping("/business/list")
|
|
|
+ public TableDataInfo<QuestionBusiness> businessList(QuestionBusinessQueryBo bo) {
|
|
|
+ startPage();
|
|
|
+ List<QuestionBusiness> list = iQuestionBusinessService.getListById(bo);
|
|
|
+ return getDataTable(list);
|
|
|
+ }
|
|
|
}
|