From 730d1944e3a13c517c77df2b0712df05645a38dd Mon Sep 17 00:00:00 2001 From: dengzedong <dengzedong@email> Date: 星期一, 06 一月 2025 16:00:58 +0800 Subject: [PATCH] chartParamList api --- iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/channel/opcda/service/ChannelOPCDATagService.java | 66 +++++++++----------------------- 1 files changed, 19 insertions(+), 47 deletions(-) diff --git a/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/channel/opcda/service/ChannelOPCDATagService.java b/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/channel/opcda/service/ChannelOPCDATagService.java index f5d4cff..09f9810 100644 --- a/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/channel/opcda/service/ChannelOPCDATagService.java +++ b/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/channel/opcda/service/ChannelOPCDATagService.java @@ -1,70 +1,42 @@ package com.iailab.module.data.channel.opcda.service; +import com.iailab.framework.common.pojo.PageResult; import com.iailab.module.data.channel.opcda.dto.ChannelOPCDATagDTO; import com.iailab.module.data.channel.opcda.entity.ChannelOPCDATagEntity; -import com.iailab.module.data.common.utils.PageUtils; +import com.iailab.module.data.channel.opcda.vo.OpcDaTagImportExcelVO; +import com.iailab.module.data.channel.opcda.vo.OpcDaTagPageReqVO; +import com.iailab.module.data.channel.tag.vo.TagImportRespVO; 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 ChannelOPCDATagService { - /** - * 分页查询tag - * - * @param params - */ - PageUtils queryPage(Map<String, Object> params); - - /** - * 查询tag详情 - * @param id - * - */ - ChannelOPCDATagEntity info(String id); - /** - * 添加tag - * - * @param channelOPCDATagEntity - */ - void add(ChannelOPCDATagEntity channelOPCDATagEntity); - /** - * 修改tag - * - * @param channelOPCDATagEntity - */ - void update(ChannelOPCDATagEntity channelOPCDATagEntity); - /** - * 删除tag - * @param id - * - */ - void delete(String id); List<ChannelOPCDATagEntity> getByserverId(String serverId); - List<ChannelOPCDATagDTO> selectAll(); List<ChannelOPCDATagEntity> listByIds(List<String> ids); - /** - * 通过serverId删除 - * - */ void deleteByServerId(String serverId); - /** - * 导入Tag - * - * @param serverId - * @param file - * @throws Exception - */ void importTag(String serverId, MultipartFile file) throws Exception; + + PageResult<ChannelOPCDATagEntity> queryPage(OpcDaTagPageReqVO reqVO); + + ChannelOPCDATagEntity info(String id); + + void add(ChannelOPCDATagEntity channelOPCDATagEntity); + + void update(ChannelOPCDATagEntity channelOPCDATagEntity); + + void delete(String id); + + TagImportRespVO importOpcDaTagList(List<OpcDaTagImportExcelVO> importTags, boolean isUpdateSupport, String serverId); + } -- Gitblit v1.9.3