package com.zhgd.xmgl.modules.basicdata.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zhgd.xmgl.modules.basicdata.dto.SystemUserDto;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import com.zhgd.xmgl.modules.basicdata.entity.SystemUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * @Description: 系统用户表
 * @author： pds
 * @date：   2023-02-08
 * @version： V1.0
 */
@Mapper
public interface SystemUserMapper extends BaseMapper<SystemUser> {

    SystemUser findByUsername(String username);

    Page<SystemUserDto> getPageList(Page page, @Param(Constants.WRAPPER) Wrapper<SystemUser> wrapper);
}
