package com.hzs.member.base.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hzs.common.domain.member.base.CuMemberHistroyAwards;
import com.hzs.common.domain.member.ext.CuMemberHistroyAwardsExt;
import org.apache.ibatis.annotations.Param;

/**
 * 会员历史奖衔 Mapper 接口
 *
 * @author hzs
 * @since 2024-09-10
 */
public interface CuMemberHistroyAwardsMapper extends BaseMapper<CuMemberHistroyAwards> {

    /**
     * 获取历史最高奖衔
     *
     * @param pkMember 会员ID
     * @return
     */
    CuMemberHistroyAwardsExt getOldAwards(@Param("pkMember") Long pkMember);

}
