package com.jilongda.manage.authority.mapper;
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
import com.jilongda.manage.authority.model.SecRole;
|
import com.jilongda.manage.authority.model.SecUserRole;
|
import org.apache.ibatis.annotations.Mapper;
|
import org.apache.ibatis.annotations.Param;
|
|
/**
|
* <p>
|
* Mapper 接口
|
* </p>
|
*
|
* @author xiaochen
|
* @since 2022-06-08
|
*/
|
@Mapper
|
public interface SecUserRoleMapper extends BaseMapper<SecUserRole> {
|
|
/**
|
* @param userId
|
* @return
|
*/
|
SecRole getRoleByUserId(@Param("userId") String userId);
|
}
|