From df702972ff8ae890991021663d919f47dc864606 Mon Sep 17 00:00:00 2001 From: zhangc <zc@123> Date: 星期二, 24 十二月 2024 10:35:23 +0800 Subject: [PATCH] 优化ReportDataHandler响应处理逻辑 --- src/main/java/com/zy/asrs/controller/NodeController.java | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/zy/asrs/controller/NodeController.java b/src/main/java/com/zy/asrs/controller/NodeController.java index 2c87cdd..ab6619a 100644 --- a/src/main/java/com/zy/asrs/controller/NodeController.java +++ b/src/main/java/com/zy/asrs/controller/NodeController.java @@ -81,7 +81,8 @@ convert(param, wrapper); hostEq(wrapper); if (!Cools.isEmpty(orderByField)){wrapper.orderBy(humpToLine(orderByField), "asc".equals(orderByType));} - return R.parse("0-鎿嶄綔鎴愬姛").add(nodeService.selectList(wrapper)); + List<Node> nodes = nodeService.selectList(wrapper); + return R.parse("0-鎿嶄綔鎴愬姛").add(nodes); } @RequestMapping(value = "/node/tree/auth") -- Gitblit v1.9.1