package com.jeeplus.test.rank.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.domain.Rank;
import com.jeeplus.test.rank.domain.RankSystemTable;
import com.jeeplus.test.rank.service.dto.RankDTO;
import com.jeeplus.test.rank.service.dto.RankSystemTableDTO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface RankSystemTableMapper extends BaseMapper<RankSystemTable> {

    public IPage<RankSystemTableDTO> findListP(Page<RankSystemTableDTO> page, @Param(Constants.WRAPPER) QueryWrapper<RankSystemTable> queryWrapper);

    public IPage<RankSystemTableDTO> findListC(Page<RankSystemTableDTO> page, @Param(Constants.WRAPPER) QueryWrapper<RankSystemTable> queryWrapper);

    public RankSystemTableDTO queryByIdP(@Param("rankId") String rankId,@Param("rcId") String rcId,@Param("rsId") String rsId);

    public RankSystemTableDTO queryByIdC(@Param("rankId") String rankId,@Param("rcId") String rcId,@Param("rsId") String rsId);
}