zouyu
2026-01-16 f605b84620bf35bb02a2ee5ef2086c164b520e67
src/main/java/com/ruoyi/project/system/mapper/SysUserMapper.java
@@ -1,10 +1,14 @@
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;
/**
 * 用户表 数据层
@@ -67,6 +71,7 @@
     * @param user 用户信息
     * @return 结果
     */
    @InterceptorIgnore(tenantLine = "true")
    public int insertUser(SysUser user);
    /**
@@ -75,6 +80,7 @@
     * @param user 用户信息
     * @return 结果
     */
    @InterceptorIgnore(tenantLine = "true")
    public int updateUser(SysUser user);
    /**
@@ -84,6 +90,7 @@
     * @param avatar 头像地址
     * @return 结果
     */
    @InterceptorIgnore(tenantLine = "true")
    public int updateUserAvatar(@Param("userName") String userName, @Param("avatar") String avatar);
    /**
@@ -93,6 +100,7 @@
     * @param password 密码
     * @return 结果
     */
    @InterceptorIgnore(tenantLine = "true")
    public int resetUserPwd(@Param("userName") String userName, @Param("password") String password);
    /**
@@ -101,6 +109,7 @@
     * @param userId 用户ID
     * @return 结果
     */
    @InterceptorIgnore(tenantLine = "true")
    public int deleteUserById(Long userId);
    /**
@@ -109,6 +118,7 @@
     * @param userIds 需要删除的用户ID
     * @return 结果
     */
    @InterceptorIgnore(tenantLine = "true")
    public int deleteUserByIds(Long[] userIds);
    /**
@@ -134,4 +144,8 @@
     * @return 结果
     */
    public SysUser checkEmailUnique(String email);
    List<SysUser> selectList(List<Long> registrantIds);
    List<SysUser> selectUsersByIds(@Param("userIds") List<Long> userIds);
}