d766343ffe
feat(customer): account flow ledger, pay deduct balance, status counts
...
Add t_customer_account_flow with list API, deduct balance on order pay, credit ledger on recharge approve, and GET /order/status-counts for tab badges.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-26 19:09:43 +08:00
5e26de6ff3
feat: remove ChargingTime and bill receivables by weight stage
...
Drop sell/buy price charging-time config; write receivable fees after forecast or receive chargeable weight, hook inbound billing, fix order list status filter, and add DB migration.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-26 16:24:53 +08:00
91ba6d5d59
fix: 计重进位快照兼容与 KPI 分区明细 Excel 导入
...
- 发布规则快照反序列化合并 StartValue/EndValue 至 Start/End
- 小包创建进位时快照区间无效则降级读 t_weight_rounding_info
- 新增 KPI 分区明细导入模板下载与 Excel 批量导入接口
- 补充快照进位与导入相关单元测试
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-26 15:29:17 +08:00
7827b4803e
feat: slim rules/price publish snapshots with PostcodeRange (left,right]
...
Use slim DTOs without audit timestamps; migrate legacy LeftPostcode/RightPostcode on read.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-26 14:10:34 +08:00
2c69e8e5b8
feat: 规则快照固化计重/分区规则并修正卖价公式
...
规则发布写入黑名单、偏远、计重规则与进位明细;查价/下单优先读快照。修正 unit/total/continue 算价及续单价相邻档位总价基数。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-26 12:57:34 +08:00
8aa6ceb677
fix: 价格发布从卖价明细分区推断 PriceAreaId 并写入快照
...
产品未配置 PriceAreaId 时,根据卖价明细「分区」值匹配 t_kpi_area 或 t_kpi_area_info 后固化 PriceAreaInfos。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-26 11:58:01 +08:00
3a65e8c58f
feat: 价格发布快照固化分区规则,查价优先从快照匹配不再查库
...
发布/LIVE 快照写入 PriceAreaId、PriceAreaInfos;US+06000 命中分区键 3 单测通过。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-26 11:20:33 +08:00
13ccd198d5
修复创建订单报错
2026-06-25 19:59:06 +08:00
00835bfadd
修复充值和查价
2026-06-25 19:10:44 +08:00
12ee25ad57
build
2026-06-25 17:47:46 +08:00
f18dd7a470
修复充值
2026-06-25 12:14:59 +08:00
96724376a6
feat: new
2026-04-29 09:38:07 +08:00
91a8ccdecb
ai-init
2026-04-15 15:25:38 +08:00