package com.fjhx.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

public interface StockExMapper {

    Page<Map<String, Object>> getInOutPage(@Param("page") Page<Map<String, Object>> pageMap,
                                           @Param("ew") QueryWrapper<?> wrapper,
                                           @Param("keyword") String keyword,
                                           @Param("goodsId") String goodsId);

    Page<Map<String, Object>> getPage(@Param("page") Page<Map<String, Object>> pageMap,
                                      @Param("ew") QueryWrapper<?> wrapper,
                                      @Param("keyword") String keyword,
                                      @Param("goodsId") String goodsId);
}
