package com.fdkankan.platform.user.mapper;

import com.fdkankan.platform.user.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fdkankan.platform.user.request.RequestUser;
import com.fdkankan.platform.user.vo.ResponseUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 用户信息表 Mapper 接口
 * </p>
 *
 * @author 
 * @since 2021-12-24
 */
@Mapper
public interface IUserMapper extends BaseMapper<User> {

    Integer getCountByParam(@Param("param") RequestUser param);

    List<ResponseUser> getListByParam(@Param("param")RequestUser param, @Param("start")Integer start, @Param("pageSize")Integer pageSize, @Param("orderBy")String orderBy);
}
