src/main/java/com/ruoyi/stock/mapper/StockInventoryMapper.java
@@ -10,6 +10,8 @@ import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import java.math.BigDecimal; import java.time.LocalDate; import java.util.List; /** @@ -35,4 +37,8 @@ IPage<StockInRecordDto> stockInventoryPage(@Param("ew") StockInventoryDto stockInventoryDto, Page page); IPage<StockInventoryDto> stockInAndOutRecord(@Param("ew") StockInventoryDto stockInventoryDto, Page page); BigDecimal selectTotal(); BigDecimal selectTotalByDate( @Param("now") LocalDate now); }