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")