package com.njzscloud.dispose.wh.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.njzscloud.dispose.wh.pojo.entity.InOrderEntity;
import com.njzscloud.dispose.wh.pojo.result.SearchInOrderResult;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 入库单
 */
@Mapper
public interface InOrderMapper extends BaseMapper<InOrderEntity> {
    IPage<SearchInOrderResult> paging(Page<Object> page, @Param("ew") QueryWrapper<?> ew);

    SearchInOrderResult detail(@Param("id") Long id);
}
