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-22 01:57:27 +08:00
2026-04-05 09:03:50 +08:00
2026-08-08 00:17:38 +08:00
2026-07-27 03:46:07 +08:00
2026-07-01 14:00:59 +08:00
2026-08-22 01:57:27 +08:00
2026-08-17 02:03:34 +08:00
2026-08-14 23:06:05 +08:00