| | |
| | | package com.ruoyi.project.system.mapper;
|
| | |
|
| | | import java.util.ArrayList;
|
| | | import java.util.List;
|
| | |
|
| | | import com.baomidou.mybatisplus.annotation.InterceptorIgnore;
|
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
| | | import org.apache.ibatis.annotations.Param;
|
| | |
|
| | | import com.ruoyi.project.system.domain.SysUser;
|
| | | import org.springframework.beans.PropertyValues;
|
| | |
|
| | | /**
|
| | | * 用户表 数据层
|
| | |
| | | * @param user 用户信息
|
| | | * @return 结果
|
| | | */
|
| | | @InterceptorIgnore(tenantLine = "true")
|
| | | public int insertUser(SysUser user);
|
| | |
|
| | | /**
|
| | |
| | | * @param user 用户信息
|
| | | * @return 结果
|
| | | */
|
| | | @InterceptorIgnore(tenantLine = "true")
|
| | | public int updateUser(SysUser user);
|
| | |
|
| | | /**
|
| | |
| | | * @param avatar 头像地址
|
| | | * @return 结果
|
| | | */
|
| | | @InterceptorIgnore(tenantLine = "true")
|
| | | public int updateUserAvatar(@Param("userName") String userName, @Param("avatar") String avatar);
|
| | |
|
| | | /**
|
| | |
| | | * @param password 密码
|
| | | * @return 结果
|
| | | */
|
| | | @InterceptorIgnore(tenantLine = "true")
|
| | | public int resetUserPwd(@Param("userName") String userName, @Param("password") String password);
|
| | |
|
| | | /**
|
| | |
| | | * @param userId 用户ID
|
| | | * @return 结果
|
| | | */
|
| | | @InterceptorIgnore(tenantLine = "true")
|
| | | public int deleteUserById(Long userId);
|
| | |
|
| | | /**
|
| | |
| | | * @param userIds 需要删除的用户ID
|
| | | * @return 结果
|
| | | */
|
| | | @InterceptorIgnore(tenantLine = "true")
|
| | | public int deleteUserByIds(Long[] userIds);
|
| | |
|
| | | /**
|
| | |
| | | * @return 结果
|
| | | */
|
| | | public SysUser checkEmailUnique(String email);
|
| | |
|
| | | List<SysUser> selectList(List<Long> registrantIds);
|
| | |
|
| | | List<SysUser> selectUsersByIds(@Param("userIds") List<Long> userIds);
|
| | | }
|