package com.hzs.scm.inventory.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hzs.common.domain.scm.general.ext.IcGeneralOutHExt;
import com.hzs.common.domain.scm.inventory.IcInventoryH;
import com.hzs.common.domain.scm.inventory.ext.IcInventoryHExt;
import com.hzs.scm.general.param.GeneralParam;
import com.hzs.scm.inventory.param.InventoryParam;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 库存盘点单表头 Mapper 接口
 * </p>
 *
 * @author hzs
 * @since 2023-12-20
 */
public interface IcInventoryHMapper extends BaseMapper<IcInventoryH> {

    /*
     * @description: 根据主键查询其他入库、其他入库明细
     * @author: sui q
     * @date: 2023/11/21 10:49
     * @param: null null
     **/
    IcInventoryHExt queryIcInventoryById(@Param("pkId") Long pkId, @Param("orderStatus") Integer orderStatus);

    /*
     * @description: 查询会员端显示的采购入库单
     * @author: sui q
     * @date: 2023/11/25 9:55
     * @param: null null
     **/
    List<IcInventoryHExt> queryDisIcInventoryExtByCondition(InventoryParam generalParam);
}
