|
@@ -53,12 +53,7 @@ public class ExamKnowledgeController extends BaseController {
|
|
|
public TableDataInfo<ExamKnowledgeVo> list(ExamKnowledgeQueryBo bo) {
|
|
|
startPage();
|
|
|
List<ExamKnowledgeVo> list = iExamKnowledgeService.queryList(bo);
|
|
|
- TableDataInfo<ExamKnowledgeVo> rspData = new TableDataInfo();
|
|
|
- rspData.setCode(HttpStatus.HTTP_OK);
|
|
|
- rspData.setMsg("查询成功");
|
|
|
- rspData.setRows(list);
|
|
|
- rspData.setTotal(iExamKnowledgeService.queryListTotal(bo));
|
|
|
- return rspData;
|
|
|
+ return getDataTable(list);
|
|
|
}
|
|
|
|
|
|
/**
|