From 5bf42aa9950058f391805e6fb8d7376f4378924b Mon Sep 17 00:00:00 2001 From: 潘志宝 <979469083@qq.com> Date: 星期一, 23 十二月 2024 16:16:55 +0800 Subject: [PATCH] cumulateHandle.getCurrent --- iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/point/service/DaPointService.java | 47 +++++++++++++++++++++++++++++++++-------------- 1 files changed, 33 insertions(+), 14 deletions(-) diff --git a/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/point/service/DaPointService.java b/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/point/service/DaPointService.java index 0f16bf2..0249769 100644 --- a/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/point/service/DaPointService.java +++ b/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/point/service/DaPointService.java @@ -1,31 +1,34 @@ package com.iailab.module.data.point.service; -import com.iailab.framework.common.page.PageData; -import com.iailab.framework.common.service.BaseService; +import com.iailab.framework.common.pojo.PageResult; +import com.iailab.module.data.api.point.dto.ApiPointDTO; import com.iailab.module.data.point.dto.DaPointDTO; -import com.iailab.module.data.point.entity.DaPointEntity; +import com.iailab.module.data.point.vo.*; import java.util.List; import java.util.Map; /** - * @author PanZhibao + * @author lirm * @Description - * @createTime 2024年05月12日 + * @createTime 2024年09月2日 */ -public interface DaPointService extends BaseService<DaPointEntity> { +public interface DaPointService{ + PageResult<DaPointDTO> queryPage(DaPointPageReqVO reqVO); - PageData<DaPointDTO> page(Map<String, Object> params); + DaPointDTO info(String id); - DaPointDTO get(String id); + ApiPointDTO getSimpleInfoById(String id); + + DaPointDTO getSimpleInfoByNo(String no); + + void add(DaPointDTO daPointDTO); + + void update(DaPointDTO daPointDTO); + + void delete(String[] id); List<DaPointDTO> list(Map<String, Object> params); - - void add(DaPointDTO dataPoint); - - void update(DaPointDTO dataPoint); - - void delete(String[] ids); List<DaPointDTO> getConstantPoint(String freq); @@ -41,6 +44,12 @@ List<DaPointDTO> getMathPoint(List<String> pointNos); + List<DaPointDTO> getCumulatePoint(String freq); + + List<DaPointDTO> getCumulatePoint(List<String> pointNos); + + List<DaPointDTO> getCumulatePoint(DaPointPageReqVO reqVO); + DaPointDTO getByNo(String pointNo); List<DaPointDTO> getByNos(List<String> pointNos); @@ -50,4 +59,14 @@ void disableByIds(String[] ids); void updateDefaultValue(DaPointDTO dto); + + PointImportRespVO importPointList(List<PointImportExcelVO> importPoints, boolean isUpdateSupport); + + List<DaPointDTO> getList(DaPointPageReqVO exportReqVO); + + List<DaPointDTO> getConstantPoint(DaPointPageReqVO reqVO); + + List<DaPointDTO> getMeasurePoint(DaPointPageReqVO reqVO); + + List<DaPointDTO> getMathPoint(DaPointPageReqVO reqVO); } -- Gitblit v1.9.3