|
@@ -67,7 +67,7 @@ public class ExamCardController {
|
|
*/
|
|
*/
|
|
@ApiOperation(value = "分页查询")
|
|
@ApiOperation(value = "分页查询")
|
|
@RequestMapping(value = "/page", method = RequestMethod.POST)
|
|
@RequestMapping(value = "/page", method = RequestMethod.POST)
|
|
- public Result page(@RequestParam(value = "type", required = false) String type,
|
|
|
|
|
|
+ public Result page(@RequestParam(value = "cardType", required = false) String cardType,
|
|
@RequestParam(value = "title", required = false) String title,
|
|
@RequestParam(value = "title", required = false) String title,
|
|
@RequestParam(value = "createMethod", required = false) String createMethod,
|
|
@RequestParam(value = "createMethod", required = false) String createMethod,
|
|
@RequestParam(value = "enable", required = false) Boolean enable,
|
|
@RequestParam(value = "enable", required = false) Boolean enable,
|
|
@@ -75,7 +75,7 @@ public class ExamCardController {
|
|
@RequestParam(value = "createEndTime", required = false) Long createEndTime,
|
|
@RequestParam(value = "createEndTime", required = false) Long createEndTime,
|
|
@RequestParam @Min(SystemConstant.PAGE_NUMBER_MIN) Integer pageNumber,
|
|
@RequestParam @Min(SystemConstant.PAGE_NUMBER_MIN) Integer pageNumber,
|
|
@RequestParam @Min(SystemConstant.PAGE_SIZE_MIN) @Max(SystemConstant.PAGE_SIZE_MAX) Integer pageSize) {
|
|
@RequestParam @Min(SystemConstant.PAGE_SIZE_MIN) @Max(SystemConstant.PAGE_SIZE_MAX) Integer pageSize) {
|
|
- IPage<ExamCardPageDto> examCardIPage = examCardService.listPage(type, title, createMethod, enable, createStartTime, createEndTime, pageNumber, pageSize);
|
|
|
|
|
|
+ IPage<ExamCardPageDto> examCardIPage = examCardService.listPage(cardType, title, createMethod, enable, createStartTime, createEndTime, pageNumber, pageSize);
|
|
return ResultUtil.ok(examCardIPage);
|
|
return ResultUtil.ok(examCardIPage);
|
|
}
|
|
}
|
|
|
|
|