package com.hzs.scm.inventory.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hzs.common.domain.scm.general.ext.IcGeneralOutBExt;
import com.hzs.common.domain.scm.inventory.IcInventoryB;
import com.hzs.common.domain.scm.inventory.ext.IcInventoryBExt;

import java.util.List;

/**
 * <p>
 * 库存盘点单明细 服务类
 * </p>
 *
 * @author hzs
 * @since 2023-12-20
 */
public interface IIcInventoryBService extends IService<IcInventoryB> {

    /*
     * @description: 根据主表主键查询库存盘点明细
     * @author: sui q
     * @date: 2023/11/25 15:02
     * @param: null null
     **/
    List<IcInventoryBExt> queryInventoryBiByPk(Integer orderType, List<IcInventoryBExt> icInventoryBiExtList);

    /*
     * @description: 根据主表主键查询采购入库单明细
     * @author: sui q
     * @date: 2023/11/25 15:02
     * @param: null null
     **/
    List<IcInventoryBExt> queryInventoryBiByPk(Integer pkCountry, Long pkOrder);

    /*
     * @description: 删除订单明细
     * @author: sui q
     * @date: 2023/11/21 14:23
     * @param: null null
     **/
    void deleteInventoryBiByList(List<IcInventoryB> icInventorybList, Long pkMember);

    /*
     * @description: 删除库存盘点明细，根据订单主键
     * @author: sui q
     * @date: 2023/11/21 14:55
     * @param: null null
     **/
    void deleteInventoryBiByPkInventory(Long pkInventory, Long pkMember);
}
