package com.hzs.scm.general.service;

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

import java.util.List;

/**
 * <p>
 * 其他入库单明细 服务类
 * </p>
 *
 * @author hzs
 * @since 2023-11-27
 */
public interface IIcGeneralOutBService extends IService<IcGeneralOutB> {

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

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

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

    /*
     * @description: 删除采购入库单明细，根据订单主键
     * @author: sui q
     * @date: 2023/11/21 14:55
     * @param: null null
     **/
    void deleteGeneralItemsByPkGeneral(Long pkGeneral, Long pkMember);
}
