package com.fjhx.wms.mapper.stock;

import com.fjhx.wms.entity.stock.po.StockJournalDetails;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.fjhx.wms.entity.stock.po.StockWait;
import com.fjhx.wms.entity.stock.vo.StockJournalDetailsVo;
import com.fjhx.wms.entity.stock.vo.StockJournalVo;
import com.fjhx.wms.entity.stock.vo.StockWaitVo;
import com.ruoyi.common.utils.wrapper.IWrapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * <p>
 * 出入库记录明细 Mapper 接口
 * </p>
 *
 * @author 
 * @since 2023-03-20
 */
public interface StockJournalDetailsMapper extends BaseMapper<StockJournalDetails> {

    /**
     * 出入库记录明细分页
     */
    Page<StockJournalDetailsVo> getPage(@Param("page") Page<Object> page, @Param("ew") IWrapper<StockJournalDetails> wrapper);

    /**
     * 根据质检id 获取带出入库信息
     */
    List<StockWaitVo> getStockWaitInfo(@Param("ew") IWrapper<StockWait> wrapper);

}
