fix(库存模块): 修复库存调整逻辑并优化即时库存接口

库存调整:修复部分商品在点击“完成库存调整”后数据未更新的问题。

即时库存:移除 JSON 返回列表中每个对象冗余的库存数量合计字段,改为在最外层统一返回,优化并缩短接口整体响应时间。
This commit is contained in:
rcx
2026-08-06 17:08:54 +08:00
parent 56b39702b5
commit 315d96063a
5 changed files with 104 additions and 30 deletions
@@ -1054,7 +1054,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="materialName" column="material_name" />
<result property="barCode" column="bar_code" />
<result property="specificationModel" column="specification_model" />
<result property="totalInventoryQuantity" column="total_inventory_quantity" />
<result property="warehouseName" column="warehouse_name" />
<result property="inventoryQuantity" column="inventory_quantity" />
<result property="allocationQuantity" column="allocation_quantity" />