From bb39e81c92ac5ec4e089d8f3384981813188f39e Mon Sep 17 00:00:00 2001 From: 潘志宝 <979469083@qq.com> Date: 星期二, 29 十月 2024 17:15:39 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/point/dao/DaPointDao.java | 12 +++++++++++- 1 files changed, 11 insertions(+), 1 deletions(-) diff --git a/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/point/dao/DaPointDao.java b/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/point/dao/DaPointDao.java index ce73d04..fc14b78 100644 --- a/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/point/dao/DaPointDao.java +++ b/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/point/dao/DaPointDao.java @@ -1,5 +1,6 @@ package com.iailab.module.data.point.dao; +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.core.metadata.IPage; import com.iailab.framework.common.pojo.PageResult; import com.iailab.framework.mybatis.core.mapper.BaseMapperX; @@ -11,6 +12,7 @@ import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; +import java.util.Collection; import java.util.List; import java.util.Map; @@ -31,7 +33,15 @@ List<DaPointDTO> getMathPoint(Map<String, Object> params); - default IPage<DaPointDTO> selectPage(DaPointPageReqVO reqVO) { + default IPage<DaPointDTO> selectPageList(DaPointPageReqVO reqVO) { return getPageList(getPage(reqVO), reqVO); + }; + + default PageResult<DaPointEntity> selectExcelList(DaPointPageReqVO reqVO) { + return selectPage(reqVO,new QueryWrapper<>()); } + + default DaPointEntity selectByPointName(String pointName){ + return selectOne("point_name", pointName); + }; } -- Gitblit v1.9.3