package com.hzs.scm.warn.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hzs.common.domain.scm.warn.IcWarnConfig;
import com.hzs.common.domain.scm.warn.ext.IcWarnConfigExt;
import com.hzs.scm.warn.param.WarnConfigParam;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 产品预警配置 Mapper 接口
 * </p>
 *
 * @author hzs
 * @since 2024-03-26
 */
public interface IcWarnConfigMapper extends BaseMapper<IcWarnConfig> {

    List<IcWarnConfigExt> queryWarnConfigByCondition(@Param("warnConfigParam") WarnConfigParam warnConfigParam);

    /*
     * @description: 查询库存不足的产品
     * @author: sui q
     * @date: 2024/3/27 16:37
     * @param: null null
     **/
    List<IcWarnConfigExt> queryWarnConfigInventory();
}
