From 48d09e15da3185fcb7e8c97897feab0821c5efbc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=85=B4=E7=90=B3?= <1911390090@qq.com> Date: Fri, 26 Apr 2024 14:46:16 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20=E6=84=9F=E7=9F=A5?= =?UTF-8?q?=E4=BA=8B=E4=BB=B6=20=E9=A6=96=E9=A1=B5=20=E5=88=86=E9=A1=B5?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controller/DCPerceivedEventsWarningController.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zc-business/src/main/java/com/zc/business/controller/DCPerceivedEventsWarningController.java b/zc-business/src/main/java/com/zc/business/controller/DCPerceivedEventsWarningController.java index a4378b46..cd2b47a6 100644 --- a/zc-business/src/main/java/com/zc/business/controller/DCPerceivedEventsWarningController.java +++ b/zc-business/src/main/java/com/zc/business/controller/DCPerceivedEventsWarningController.java @@ -68,9 +68,9 @@ public class DCPerceivedEventsWarningController extends BaseController { } //首页感知事件列表分页 @PostMapping("/warningListPage") - public AjaxResult getWarningListPage(@RequestBody DcWarning dcWarning){ + public TableDataInfo getWarningListPage(@RequestBody DcWarning dcWarning){ startPage(); - return AjaxResult.success(perceivedEventsWarningService.selectWarningList(dcWarning)); + return getDataTable(perceivedEventsWarningService.selectWarningList(dcWarning)); } //查询感知数量按照路段数量进行排名 @PostMapping("/sectionPerceivedList")