| | |
| | | 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;
|
| | |
|
| | |
| | | * @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);
|
| | |
|
| | | /**
|