liufumingren
aacf9c8539
feat(storage): 新增按商品查有量库存接口与库存列表零量过滤
- listByStockId:传入 stock_id 返回 quantity>1 的库存,支持 group_by_space 双模式(逐条明细/按库位汇总)
- 修复 store_stock 关联未按仓库收敛导致同 id 库存行重复返回,统一改用 buildStoreStockInclude
- list/export 基础条件增加 quantity>0,过滤总数量为0的商品或明细行
- list 支持 where.stock_query 虚拟筛选(商品编码/名称/货物编码/条码/SKU ID 模糊匹配)
- 重构 getInventoryList 明细分支:提取 _loadInventoryWarningRanges/_formatBatchStorageRows 复用
- 同步 methods/system.json 与 methods/changes/system.json 文档及变更记录
2026-08-22 01:57:27 +08:00
..
2026-08-09 00:23:42 +08:00
2026-08-21 02:20:02 +08:00
2026-05-06 01:32:55 +08:00
2026-08-18 16:25:12 +08:00
2026-08-21 02:20:48 +08:00
2026-08-21 02:20:17 +08:00
2026-08-22 01:57:27 +08:00
2026-05-22 08:39:07 +08:00
2026-08-06 17:40:36 +08:00