package com.changhu.module.securityManagement.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.changhu.module.securityManagement.pojo.queryParams.UserPagerQueryParams;
import com.changhu.module.securityManagement.pojo.vo.UserPagerVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * @author 20252
 * @createTime 2024/11/22 上午9:53
 * @desc UserMapper...
 */
@Mapper
@Repository("securityManagementUserMapper")
public interface UserMapper {
    /**
     * 分页查询
     *
     * @param page   分页参数
     * @param params 查询参数
     * @return 结果
     */
    Page<UserPagerVo> pager(@Param("page") Page<UserPagerVo> page,
                            @Param("params") UserPagerQueryParams params);
}
