liufumingren
6d33210624
fix(storage): 修复库存/商品列表按数量等字段排序不生效
- stock.warehouse.list: 透传 sort 参数给 getWarehouseStock(此前漏传,后端始终按 id DESC 排序,quantity/available_quantity 等排序字段均无效)
- systems/storage/inventory getInventoryList/exportInventoryList:
- 汇总模式(按 stock_id 合并)order 原写死 last_inbound_time,现支持按聚合别名排序:quantity/locked_quantity/available_quantity/batch_count/first_inbound_time/last_inbound_time/production_date/expiry_date,其余回退 last_inbound_time
- 明细模式新增真实列白名单,非法字段回退默认列,避免 SQL 报错/注入
- sortOrder 统一归一化为 ASC/DESC,分页兼容 currentPage
2026-08-21 23:23:06 +08:00
..
2026-04-05 21:45:18 +08:00
2026-03-25 23:26:10 +08:00
2026-07-17 00:30:54 +08:00
2026-04-05 21:45:18 +08:00
2026-07-27 03:48:06 +08:00
2026-08-21 23:23:06 +08:00