package com.ruoyi.stock.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.stock.dto.StockInRecordDto;
import com.ruoyi.stock.dto.StockInventoryDto;
import com.ruoyi.stock.execl.StockInventoryExportData;
import com.ruoyi.stock.pojo.StockInventory;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.util.List;
import java.util.Map;
/**
*
* 库存表 Mapper 接口
*
*
* @author 芯导软件(江苏)有限公司
* @since 2026-01-21 04:16:36
*/
@Mapper
public interface StockInventoryMapper extends BaseMapper {
IPage pagestockInventory(Page page, @Param("ew") StockInventoryDto stockInventoryDto);
int updateAddStockInventory(@Param("ew") StockInventoryDto stockInventoryDto);
int updateSubtractStockInventory(@Param("ew") StockInventoryDto stockInventoryDto);
List listStockInventoryExportData(@Param("ew") StockInventoryDto stockInventoryDto);
IPage stockInventoryPage(@Param("ew") StockInventoryDto stockInventoryDto, Page page);
IPage stockInAndOutRecord(@Param("ew") StockInventoryDto stockInventoryDto, Page page);
BigDecimal selectTotal();
int selectStorageProductCountByDate(@Param("startDate") String startDate, @Param("endDate") String endDate);
List