无关风月
2024-12-09 2053b8fe0e98d4b4449bc756a93ced78f42277c4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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);
}