分页查询用户上报记录
This commit is contained in:
parent
06f90b6f7f
commit
73125f8bf3
@ -61,7 +61,7 @@ public class EbikeReportRecordController {
|
|||||||
@GetMapping("page")
|
@GetMapping("page")
|
||||||
public JsonResult<?> page(PageParam pageParam, Integer recordStatus) {
|
public JsonResult<?> page(PageParam pageParam, Integer recordStatus) {
|
||||||
QueryWrapper queryWrapper = QueryWrapper.create()
|
QueryWrapper queryWrapper = QueryWrapper.create()
|
||||||
.where(EBIKE_REPORT_RECORD.RECORD_STATUS.like(recordStatus, Objects.nonNull(recordStatus)));
|
.where(EBIKE_REPORT_RECORD.RECORD_STATUS.eq(recordStatus, Objects.nonNull(recordStatus)));
|
||||||
Page<EbikeReportRecord> page = reportRecordService.page(pageParam.getPage(), queryWrapper);
|
Page<EbikeReportRecord> page = reportRecordService.page(pageParam.getPage(), queryWrapper);
|
||||||
return JsonResult.success(page);
|
return JsonResult.success(page);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user