package com.hzs.scm.trans.mapper;

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

import java.util.List;

/**
 * <p>
 * 采购订单明细 Mapper 接口
 * </p>
 *
 * @author hzs
 * @since 2023-12-04
 */
public interface IcTransInBMapper extends BaseMapper<IcTransInB> {

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

    /*
     * @description: 删除入库单子表明细
     * @author: sui q
     * @date: 2023/11/23 10:38
     * @param: null null
     **/
    void deletePurchaseInbByList(@Param("transInbList") List<IcTransInB> transInbList);
}
