src/main/resources/mapper/stock/StockInventoryMapper.xml
@@ -188,5 +188,11 @@ select ifnull(sum(qualitity),0) from stock_inventory </select> <select id="selectTotalByDate" resultType="java.math.BigDecimal"> select sum(qualitity) from stock_inventory where create_time >= #{now} and create_time < DATE_ADD(#{now}, INTERVAL 1 DAY) </select> </mapper>