Files
jiu/backend/internal/handler
wangjia 5e4cc668e5 feat(backend): 库存接口带出售价 sale_price(库存屏成本价/单价两列地基)
照原型库存表「成本价(进价)+单价(售价)」两列:
- 库存查询 SELECT 加 p.sale_price AS sale_price;成本价 unit_price 补 p.purchase_price 兜底
- inventoryRow 加 SalePrice;前端 Inventory model 加 salePrice
- 多租户隔离不变(baseWhere 仍 inv.shop_id);库存测试通过

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TSKEiHsvauyxYUW2itzUXX
2026-06-25 19:56:27 +08:00
..
2026-06-20 10:13:49 +08:00
2026-06-17 23:12:13 +08:00
2026-06-21 18:14:27 +08:00
2026-06-21 18:14:27 +08:00
2026-06-19 20:20:44 +08:00
2026-06-19 20:20:44 +08:00
2026-06-24 11:56:21 +08:00
2026-06-24 11:56:21 +08:00
2026-06-24 11:56:21 +08:00