package cn.pluss.platform.mapper;

import cn.pluss.platform.entity.MerchantMarket;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.math.BigDecimal;

/**
 * <p>
 * 商户奖励金记录表 Mapper 接口
 * </p>
 *
 * @author Djh
 * @since 2020-11-02
 */
public interface MerchantMarketMapper extends BaseMapper<MerchantMarket> {

    /**
     * 获取奖励金额度
     * @param userId
     * @return
     */
    BigDecimal getCountMarketAmt(Long userId);
}
