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.InventoryEntity;
import com.njzscloud.dispose.wh.pojo.result.SearchInventoryResult;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 库存信息
 */
@Mapper
public interface InventoryMapper extends BaseMapper<InventoryEntity> {
    IPage<SearchInventoryResult> paging(Page<Object> page, @Param("ew") QueryWrapper<?> ew);

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