package com.ruoshui.metadata.mapper;


import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.ruoshui.core.database.base.BaseDao;
import com.ruoshui.metadata.entity.MetadataChangeRecordEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.io.Serializable;

/**
 * <p>
 * 元数据变更记录表 Mapper 接口
 * </p>
 *
 * @author yuwei
 * @since 2020-07-30
 */
@Mapper
public interface MetadataChangeRecordDao extends BaseDao<MetadataChangeRecordEntity> {

    @Override
    MetadataChangeRecordEntity selectById(Serializable id);

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