package shop.alien.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import shop.alien.entity.store.StorePlatformRole;

/**
 * 平台角色信息表 Mapper 接口
 *
 * @author system
 * @since 2025-01-XX
 */
@Mapper
public interface StorePlatformRoleMapper extends BaseMapper<StorePlatformRole> {

    @Select("SELECT role_name FROM store_platform_role WHERE role_id = #{roleId} LIMIT 1")
    String selectRoleNameById(@Param("roleId") Long roleId);
}

