package com.storlead.sales.mapper.sku;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.storlead.framework.common.constant.DSConstants;
import com.storlead.sales.pojo.entity.sku.CurrencyRate;

import java.math.BigDecimal;

/**
 * <p>
 * 货币汇率表 Mapper 接口
 * </p>
 *
 * @author YPZ
 * @since 2024-08-02
 */
@DS(DSConstants.DATASOURCE_MANAGEMENT)
public interface CurrencyRateMapper extends BaseMapper<CurrencyRate> {

    /**
     * <p>
     *     查询人民币兑美元汇率
     * </p>
     * @return
     */
    BigDecimal queryCurrencyRateUSDToCNY();

}
