| | |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport; |
| | | import io.swagger.annotations.ApiImplicitParam; |
| | | import io.swagger.annotations.ApiImplicitParams; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import io.swagger.annotations.ApiParam; |
| | | import lombok.AllArgsConstructor; |
| | |
| | | return R.status(temp); |
| | | } |
| | | |
| | | /** |
| | | * 考试题目绑定 |
| | | */ |
| | | @GetMapping("/setPagerSubject") |
| | | @ApiOperationSupport(order = 8) |
| | | @ApiOperation(value = "考试题目绑定", notes = "传入exam") |
| | | public R setPagerSubject(@ApiParam(value = "主键集合") ExamPaper exam) { |
| | | |
| | | return R.status(true); |
| | | } |
| | | |
| | | /** |
| | | * 查询考试题目 |
| | | */ |
| | | @GetMapping("/queryPagerSubject") |
| | | @ApiOperationSupport(order = 8) |
| | | @ApiOperation(value = "考试题目绑定", notes = "传入exam") |
| | | public R<ExamPaperVO> queryPagerSubject(@ApiParam(value = "主键集合") ExamPaper exam) { |
| | | ExamPaperVO subject = examPaperService.queryPagerSubject(exam); |
| | | return R.data(subject); |
| | | } |
| | | |
| | | } |