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

/**
 * 库存盘点明细
 */
@Mapper
public interface WarehouseCheckDetailMapper extends BaseMapper<WarehouseCheckDetailEntity> {
    IPage<SearchWarehouseCheckDetailResult> paging(Page<Object> page, @Param("ew") QueryWrapper<?> ew);

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