xin
2025-06-06 ba3ec5d7b984bab62c1d4d6085b5cfd0e3a642df
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);
}