package com.hzs.scm.general.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hzs.common.domain.scm.general.IcGeneralInH;
import com.hzs.common.domain.scm.general.ext.IcGeneralInHExt;
import com.hzs.common.domain.scm.po.ext.PoOrderExt;
import com.hzs.scm.general.param.GeneralParam;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 其他入库表头 Mapper 接口
 * </p>
 *
 * @author hzs
 * @since 2023-11-27
 */
public interface IcGeneralInHMapper extends BaseMapper<IcGeneralInH> {

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

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