You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
588 B
22 lines
588 B
package com.jiagutech.ams.mapper;
|
|
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
|
import com.jiagutech.ams.model.dto.RoleDTO;
|
|
import com.jiagutech.ams.model.dto.UserRoleDTO;
|
|
import org.apache.ibatis.annotations.Param;
|
|
|
|
import java.util.List;
|
|
|
|
/**
|
|
* @ClassName UserRoleMapper
|
|
* @author: zhangyeguang
|
|
* @create: 2024-09-01 09:57
|
|
* @Version 1.0
|
|
* @description:
|
|
**/
|
|
public interface UserRoleMapper extends BaseMapper<UserRoleDTO> {
|
|
|
|
List<RoleDTO> selectRolesByUserId(Long userId);
|
|
|
|
void insertUserRole(@Param("userId") Long userId, @Param("roleKey") String roleKey);
|
|
}
|
|
|