From f66e9016d77a0d500df285ff58a581b31eb54055 Mon Sep 17 00:00:00 2001
From: 潘志宝 <979469083@qq.com>
Date: 星期三, 08 一月 2025 08:21:43 +0800
Subject: [PATCH] DaPointDao代码优化

---
 iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/channel/opcda/controller/admin/ChannelOPCDATagController.java |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/channel/opcda/controller/admin/ChannelOPCDATagController.java b/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/channel/opcda/controller/admin/ChannelOPCDATagController.java
index 39898d4..56aded4 100644
--- a/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/channel/opcda/controller/admin/ChannelOPCDATagController.java
+++ b/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/channel/opcda/controller/admin/ChannelOPCDATagController.java
@@ -52,7 +52,8 @@
     @GetMapping("page")
     public CommonResult<PageResult<OpcDaTagRespVO>> list(@Valid OpcDaTagPageReqVO reqVO) {
         PageResult<ChannelOPCDATagEntity> page = channelOPCDATagService.queryPage(reqVO);
-        return success(BeanUtils.toBean(page, OpcDaTagRespVO.class));
+        PageResult<OpcDaTagRespVO> pageResult = BeanUtils.toBean(page, OpcDaTagRespVO.class);
+        return success(pageResult);
     }
 
     @PreAuthorize("@ss.hasPermission('data:channel-opcda:query')")

--
Gitblit v1.9.3