package com.hzs.scm.ic.service;

import com.baomidou.mybatisplus.extension.service.IService;
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 java.util.List;

/**
 * <p>
 * 采购订单明细 服务类
 * </p>
 *
 * @author hzs
 * @since 2023-11-23
 */
public interface IIcBatchCodeService extends IService<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(List<BatchCodeParam> batchCodeParamList);

    /*
     * @description: 插入批次号
     * @author: sui q
     * @date: 2023/12/19 14:06
     * @param: null null
     **/
    void insertBatchCode(BatchCodeParam batchCodeParam, Long pkMember);

    /*
     * @description: 修改批次号
     * @author: sui q
     * @date: 2023/12/19 14:06
     * @param: null null
     **/
    void updateBatchCode(IcBatchCode icBatchCode, BatchCodeParam batchCodeParam, Long pkMember);

    /*
     * @description: 删除采购订单
     * @author: sui q
     * @date: 2023/11/21 14:54
     * @param: null null
     **/
    void deleteBatchCode(Long pkBatchCode, Long pkMember);
}
