package com.jeeplus.test.roster.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jeeplus.test.rank.service.dto.RankSystemTableDTO;
import com.jeeplus.test.roster.domain.RosterBase;
import com.jeeplus.test.roster.service.dto.RosterBaseDTO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface RosterBaseMapper extends BaseMapper<RosterBase> {

    public IPage<RosterBaseDTO> findList(Page<RosterBaseDTO> page, @Param(Constants.WRAPPER)QueryWrapper<RosterBase> queryWrapper);

    public RosterBaseDTO queryById(@Param("id") String id);
}