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);
|
}
|