From f7e880deb0612ba5efe96e6ce229abd8c19bc6e7 Mon Sep 17 00:00:00 2001 From: 潘志宝 <979469083@qq.com> Date: 星期二, 03 九月 2024 09:08:23 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/channel/opcua/service/ChannelOPCUATagService.java | 51 +++++++++------------------------------------------ 1 files changed, 9 insertions(+), 42 deletions(-) diff --git a/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/channel/opcua/service/ChannelOPCUATagService.java b/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/channel/opcua/service/ChannelOPCUATagService.java index a470e2c..d8e2627 100644 --- a/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/channel/opcua/service/ChannelOPCUATagService.java +++ b/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/channel/opcua/service/ChannelOPCUATagService.java @@ -1,70 +1,37 @@ package com.iailab.module.data.channel.opcua.service; -import com.iailab.module.data.common.utils.PageUtils; +import com.iailab.framework.common.pojo.PageResult; import com.iailab.module.data.channel.opcua.dto.ChannelOPCUATagDTO; import com.iailab.module.data.channel.opcua.entity.ChannelOPCUATagEntity; +import com.iailab.module.data.channel.opcua.vo.OpcUaTagPageReqVO; import org.springframework.web.multipart.MultipartFile; import java.util.List; -import java.util.Map; /** - * @author DongYukun + * @author lirm * @Description - * @createTime 2023年05月08日 15:04:00 + * @createTime 2024年08月26日 */ public interface ChannelOPCUATagService { - /** - * 分页查询tag - * - * @param params - */ - PageUtils queryPage(Map<String, Object> params); + PageResult<ChannelOPCUATagEntity> queryPage(OpcUaTagPageReqVO reqVO); - /** - * 查询tag详情 - * @param id - * - */ ChannelOPCUATagEntity info(String id); - /** - * 添加tag - * - * @param channelOPCUATagEntity - */ + void add(ChannelOPCUATagEntity channelOPCUATagEntity); - /** - * 修改tag - * - * @param channelOPCUATagEntity - */ + void update(ChannelOPCUATagEntity channelOPCUATagEntity); - /** - * 删除tag - * @param id - * - */ + void delete(String id); List<ChannelOPCUATagEntity> getByDevice(String device); - List<ChannelOPCUATagDTO> selectAll(); List<ChannelOPCUATagEntity> listByIds(List<String> ids); - /** - * 通过deviceName删除 - * - */ void deleteByDeviceName(String name); - /** - * 导入Tag - * - * @param device - * @param file - * @throws Exception - */ void importTag(String device, MultipartFile file) throws Exception; + } -- Gitblit v1.9.3