瀏覽代碼

兴趣点管理修改

heshan 8 月之前
父節點
當前提交
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)));
     }