车辆二维码模糊查询
This commit is contained in:
parent
1eca757696
commit
8e734f4d79
@ -74,7 +74,7 @@ public class EbikeBikeQrController {
|
||||
@GetMapping("page")
|
||||
public JsonResult<?> page(PageParam pageParam, String bikeQrCode) {
|
||||
QueryWrapper queryWrapper = QueryWrapper.create()
|
||||
.where(EBIKE_BIKE_QR.BIKE_QR_CODE.eq(bikeQrCode, StringUtil.hasText(bikeQrCode)))
|
||||
.where(EBIKE_BIKE_QR.BIKE_QR_CODE.like(bikeQrCode, StringUtil.hasText(bikeQrCode)))
|
||||
.orderBy(EBIKE_BIKE_QR.CREATED_AT,Boolean.TRUE);
|
||||
Page<EbikeBikeQr> page = ebikeBikeQrService.page(pageParam.getPage(), queryWrapper);
|
||||
return JsonResult.success(page);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user