package com.jwipc.sys.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jwipc.sys.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jwipc.sys.model.query.UserListQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 用户表 Mapper 接口
 * </p>
 *
 * @author zhangjie
 * @since 2024-01-26
 */
public interface UserMapper extends BaseMapper<User> {

    List<User> selectPageByQuery(Page<User> dbPage, @Param("q") UserListQuery query);

    List<User> selectPageByQuery(@Param("q") UserListQuery query);
}
