1.0
xin
2025-04-15 e718afd02965c6a4018506acb1ae99baca0c5645
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);
}