package com.hzs.scm.trans.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hzs.common.domain.scm.trans.IcTransOutB;
import com.hzs.common.domain.scm.trans.ext.IcTransOutBExt;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 调拨入库明细 Mapper 接口
 * </p>
 *
 * @author hzs
 * @since 2023-12-04
 */
public interface IcTransOutBMapper extends BaseMapper<IcTransOutB> {

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

    /*
     * @description: 删除订单明细
     * @author: sui q
     * @date: 2023/11/21 14:23
     * @param: null null
     **/
    void deleteTransferItemsByList(@Param("transferOutBiList") List<IcTransOutB> icTransferOutbList, @Param("pkMember") Long pkMember);
}
