leomon
2025-06-05 e445652b1c6b78ce601d3816b3d75c9b9e0df198
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package com.oying.modules.system.mapper;
 
import com.oying.modules.system.domain.Role;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.Set;
 
/**
 * @author Z
 * @date 2023-06-20
 */
@Mapper
public interface UserRoleMapper {
    void insertData(@Param("userId") Long userId, @Param("roles") Set<Role> roles);
 
    void deleteByUserId(@Param("userId") Long userId);
 
    void deleteByUserIds(@Param("userIds") Set<Long> userIds);
}