package com.winsun.service.impl;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;

import com.winsun.auth.model.user.User;
import com.winsun.bean.SysUser;

import com.winsun.mapper.SysUserMapper;

import com.winsun.service.ISysUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class SysUserServiceImpl extends ServiceImpl<SysUserMapper, SysUser> implements ISysUserService {

    @Autowired
    private SysUserMapper sysUserMapper;

    @Override
    public List<Map<String, Object>> selectUsers(Page<SysUser> page, Map<String, Object> map) {
        return ((SysUserMapper)this.baseMapper).selectUsers(page, map);
    }
}
