package com.hzs.scm.general.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hzs.common.domain.scm.general.IcGeneralInB;
import com.hzs.common.domain.scm.general.ext.IcGeneralInBExt;
import com.hzs.common.domain.scm.po.ext.PoOrderItemsExt;

import java.util.List;

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

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


    /*
     * @description: 查询采购订单明细
     * @author: sui q
     * @date: 2023/11/23 14:17
     * @param: null null
     **/
    List<IcGeneralInBExt> queryGeneralInbByPk(Integer pkCountry, Long pkOrder);

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

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