From d7ac861cab28bc39f87c1af464ec4d319a0cbb37 Mon Sep 17 00:00:00 2001
From: houzhongjian <houzhongyi@126.com>
Date: 星期二, 19 十一月 2024 15:46:15 +0800
Subject: [PATCH] test配置增加deploy.server属性,解决多网卡ip注册错误的问题

---
 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 7f47f41..7a11afc 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
@@ -18,6 +18,7 @@
 import com.iailab.module.data.channel.opcda.vo.OpcDaTagRespVO;
 import com.iailab.module.data.common.enums.DataSourceType;
 import com.iailab.module.data.channel.tag.vo.TagImportRespVO;
+import com.iailab.module.data.common.enums.IsEnableEnum;
 import com.iailab.module.data.common.exception.RRException;
 import com.iailab.module.data.common.utils.TagUtils;
 import io.swagger.v3.oas.annotations.Operation;
@@ -146,7 +147,7 @@
     public void importTemplate(HttpServletResponse response) throws IOException {
         // 手动创建导出 demo
         List<OpcDaTagImportExcelVO> list = Collections.singletonList(
-                OpcDaTagImportExcelVO.builder().tagName("Tag名称").dataType("String").enabled(1)
+                OpcDaTagImportExcelVO.builder().tagName("Tag名称").dataType("String").enabled(IsEnableEnum.ENABLE.getCode())
                         .build()
         );
         // 输出

--
Gitblit v1.9.3