|
@@ -28,32 +28,9 @@ public class PcExamInfoController extends BaseController{
|
|
|
@Autowired
|
|
|
private IExamInfoService examInfoService;
|
|
|
|
|
|
- /**
|
|
|
- * 查询考场信息列表
|
|
|
- */
|
|
|
- @GetMapping("/list")
|
|
|
- @ApiOperation("查询考场信息列表")
|
|
|
- @ApiImplicitParams({
|
|
|
- @ApiImplicitParam(name = "pageNum",value = "当前页码" ,dataType = "int", paramType = "query", required = false),
|
|
|
- @ApiImplicitParam(name = "pageSize",value = "每页数据量" , dataType = "int", paramType = "query", required = false),
|
|
|
- })
|
|
|
- public ResponsePageInfo<ExamInfo> list(@ModelAttribute ExamInfo examInfo){
|
|
|
- startPage();
|
|
|
- List<ExamInfo> list = examInfoService.selectExamInfoList(examInfo);
|
|
|
- return toResponsePageInfo(list);
|
|
|
- }
|
|
|
+
|
|
|
|
|
|
- /**
|
|
|
- * 导出考场信息列表
|
|
|
- */
|
|
|
- @Log(title = "考场信息", businessType = BusinessTypeEnum.EXPORT)
|
|
|
- @GetMapping("/export")
|
|
|
- @ApiOperation("导出考场信息列表Excel")
|
|
|
- public Response<String> export(@ModelAttribute ExamInfo examInfo){
|
|
|
- List<ExamInfo> list = examInfoService.selectExamInfoList(examInfo);
|
|
|
- ExcelUtil<ExamInfo> util = new ExcelUtil<ExamInfo>(ExamInfo.class);
|
|
|
- return util.exportExcel(list, "info");
|
|
|
- }
|
|
|
+
|
|
|
|
|
|
/**
|
|
|
* 获取考场信息详细信息
|