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-08-21 22:55:01 +08:00
2026-03-16 14:01:22 +08:00
2026-08-08 20:28:18 +08:00
2026-08-21 23:23:06 +08:00
2026-08-13 21:43:01 +08:00
2026-08-08 20:28:18 +08:00
2026-08-01 03:43:47 +08:00
2026-08-17 22:01:18 +08:00
2026-08-01 03:39:41 +08:00
2026-08-01 03:44:02 +08:00
2026-07-27 03:46:51 +08:00
2026-06-23 18:48:33 +08:00
2026-04-09 01:36:49 +08:00
2026-08-08 20:28:18 +08:00
2026-08-17 22:01:18 +08:00
2026-08-21 02:20:43 +08:00
2026-06-14 19:03:58 +08:00
2026-08-21 02:20:02 +08:00
2026-08-12 20:47:19 +08:00
2026-08-19 00:00:23 +08:00
2026-07-29 13:57:04 +08:00
2026-08-13 01:58:55 +08:00
2026-08-13 23:13:07 +08:00
2026-08-13 21:40:57 +08:00
2026-08-15 20:12:26 +08:00
2026-08-04 08:18:43 +08:00
2026-04-09 01:36:49 +08:00
2026-07-06 22:07:10 +08:00
2026-04-09 01:36:49 +08:00
2026-07-10 18:10:11 +08:00
2026-08-08 20:28:18 +08:00