package cn.datax.service.data.visual.dao;

import cn.datax.common.base.BaseDao;
import cn.datax.service.data.visual.api.entity.BoardEntity;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.io.Serializable;

/**
 * <p>
 * 可视化看板配置信息表 Mapper 接口
 * </p>
 *
 * @author yuwei
 * @since 2020-11-04
 */
@Mapper
public interface BoardDao extends BaseDao<BoardEntity> {

    @Override
    BoardEntity selectById(Serializable id);

    @Override
    <E extends IPage<BoardEntity>> E selectPage(E page, @Param(Constants.WRAPPER) Wrapper<BoardEntity> queryWrapper);
}
