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; import com.iailab.framework.mybatis.core.query.LambdaQueryWrapperX; import com.iailab.framework.tenant.core.db.dynamic.TenantDS; import com.iailab.module.data.point.dto.DaPointDTO; import com.iailab.module.data.point.entity.DaPointEntity; import com.iailab.module.data.point.vo.DaPointPageReqVO; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import java.util.Collection; import java.util.List; import java.util.Map; /** * @author lirm * @Description * @createTime 2024年09月2日 */ @TenantDS @Mapper public interface DaPointDao extends BaseMapperX { IPage getPageList(IPage page, @Param("params") DaPointPageReqVO reqVO); List getList(DaPointPageReqVO reqVO); List getConstantPoint(Map params); List getMeasurePoint(Map params); List getMathPoint(Map params); List getCumulatePoint(Map params); default IPage selectPageList(DaPointPageReqVO reqVO) { return getPageList(getPage(reqVO), reqVO); } default DaPointEntity selectByPointName(String pointName) { return selectOne("point_name", pointName); } }