Compare commits
2 Commits
b53cb31d91
...
3559b0200a
| Author | SHA256 | Date | |
|---|---|---|---|
| 3559b0200a | |||
| e8df334c4d |
@ -75,7 +75,7 @@ public class EbikeBikeQrController {
|
|||||||
public JsonResult<?> page(PageParam pageParam, String bikeQrCode) {
|
public JsonResult<?> page(PageParam pageParam, String bikeQrCode) {
|
||||||
QueryWrapper queryWrapper = QueryWrapper.create()
|
QueryWrapper queryWrapper = QueryWrapper.create()
|
||||||
.where(EBIKE_BIKE_QR.BIKE_QR_CODE.like(bikeQrCode, StringUtil.hasText(bikeQrCode)))
|
.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);
|
.orderBy(EBIKE_BIKE_QR.CREATED_AT,Boolean.FALSE);
|
||||||
Page<EbikeBikeQr> page = ebikeBikeQrService.page(pageParam.getPage(), queryWrapper);
|
Page<EbikeBikeQr> page = ebikeBikeQrService.page(pageParam.getPage(), queryWrapper);
|
||||||
return JsonResult.success(page);
|
return JsonResult.success(page);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user