package com.github.wxiaoqi.security.admin.mapper;

import com.github.wxiaoqi.security.admin.dto.AppUserManageDTO;
import com.github.wxiaoqi.security.admin.entity.AppUserDetail;
import com.github.wxiaoqi.security.admin.vo.AppUserManageVo;
import com.github.wxiaoqi.security.admin.vo.AppUserVo;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface AppUserDetailMapper extends Mapper<AppUserDetail> {

    //查询用户信息
     AppUserVo getUserInfo(@Param("userId") Integer userId);

    List<AppUserManageVo> selectAppUserManage(AppUserManageDTO appUserManageDTO);

    void updateUserMemberStatusByUserId(@Param("userId") Integer userId,@Param("status") Integer status);
}