分页查询
This commit is contained in:
parent
b7bf075a10
commit
e8df334c4d
@ -75,7 +75,7 @@ public class EbikeBikeQrController {
|
||||
public JsonResult<?> page(PageParam pageParam, String bikeQrCode) {
|
||||
QueryWrapper queryWrapper = QueryWrapper.create()
|
||||
.where(EBIKE_BIKE_QR.BIKE_QR_CODE.like(bikeQrCode, StringUtil.hasText(bikeQrCode)))
|
||||
.orderBy(EBIKE_BIKE_QR.CREATED_AT,Boolean.TRUE)
|
||||
.orderBy(EBIKE_BIKE_QR.BIKE_QR_CODE,Boolean.TRUE)
|
||||
.orderBy(EBIKE_BIKE_QR.CREATED_AT,Boolean.FALSE);
|
||||
Page<EbikeBikeQr> page = ebikeBikeQrService.page(pageParam.getPage(), queryWrapper);
|
||||
return JsonResult.success(page);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user