| | |
| | | import org.springblade.core.tool.utils.Func; |
| | | import org.springblade.modules.exam.entity.ExamPaper; |
| | | import org.springblade.modules.exam.service.ExamPaperService; |
| | | import org.springblade.modules.exam.vo.ExamPaperSubjectVO; |
| | | import org.springblade.modules.exam.vo.ExamPaperVO; |
| | | import org.springblade.modules.exam.wrapper.ExamPaperWrapper; |
| | | import org.springframework.web.bind.annotation.*; |
| | |
| | | public class ExamPaperController extends BladeController { |
| | | |
| | | private final ExamPaperService examPaperService; |
| | | |
| | | |
| | | /** |
| | | * 详情 |
| | |
| | | @GetMapping("/queryPagerSubject") |
| | | @ApiOperationSupport(order = 8) |
| | | @ApiOperation(value = "考试题目绑定", notes = "传入exam") |
| | | public R<ExamPaperVO> queryPagerSubject(@ApiParam(value = "主键集合") ExamPaper exam) { |
| | | ExamPaperVO subject = examPaperService.queryPagerSubject(exam); |
| | | public R<ExamPaperSubjectVO> queryPagerSubject(@ApiParam(value = "主键集合") ExamPaper exam) { |
| | | ExamPaperSubjectVO subject = examPaperService.queryPagerSubject(exam); |
| | | return R.data(subject); |
| | | } |
| | | |