|
@@ -45,7 +45,7 @@ public class InterestPointController {
|
|
|
@GetMapping("/page")
|
|
|
@ApiOperation(value = "分页查询")
|
|
|
public ResultRespone getViewsPage(Page page, @ModelAttribute InterestPoint interestPoint) {
|
|
|
- return ResultRespone.success(interestPointService.page(page, Wrappers.<InterestPoint>lambdaQuery().orderByDesc(InterestPoint::getCreateTime)));
|
|
|
+ return ResultRespone.success(interestPointService.page(page, Wrappers.query(interestPoint).lambda().orderByDesc(InterestPoint::getCreateTime)));
|
|
|
}
|
|
|
|
|
|
|