package com.hzs.scm.ic.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hzs.common.domain.scm.ic.IcBatchCode;
import com.hzs.common.domain.scm.ic.ext.IcBatchCodeExt;
import com.hzs.scm.ic.param.BatchCodeParam;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 采购订单明细 Mapper 接口
 * </p>
 *
 * @author hzs
 * @since 2023-11-23
 */
public interface IcBatchCodeMapper extends BaseMapper<IcBatchCode> {

    /*
     * @description: 根据条件查询批次号
     * @author: sui q
     * @date: 2023/12/19 14:25
     * @param: null null
     **/
    List<IcBatchCodeExt> queryBatchCodeByCondition(BatchCodeParam batchCodeParam);

    /*
     * @description: 查询批次号
     * @author: sui q
     * @date: 2023/11/23 17:20
     * @param: null null
     **/
    List<Long> queryBatchCodeByProduct(@Param("batchCodeParamList") List<BatchCodeParam> batchCodeParamList);
}
