Browse Source

兴趣点管理修改

heshan 6 months ago
parent
commit
3b07134afd

+ 1 - 1
lxps-admin/lxps-base-service/src/main/java/com/tofly/base/controller/InterestPointController.java

@@ -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)));
     }