package com.bailuntec.mapper;

import com.bailuntec.domain.entity.DcAutoSalesForecastStageConfig;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 销量预测阶段 Mapper 接口
 * </p>
 *
 * @author robbendev
 * @since 2020-08-13
 */
public interface DcAutoSalesForecastStageConfigMapper extends BaseMapper<DcAutoSalesForecastStageConfig> {

    /**
     * <p>
     * 查询周转sku命中的规则
     * </p>
     *
     * @param bailunSku     bailunSku
     * @param warehouseCode 仓库编码
     * @return 命中的预测规则
     */
    DcAutoSalesForecastStageConfig selectMatchStage(@Param("bailunSku") String bailunSku, @Param("warehouseCode") String warehouseCode);
}
