yumoqing
1303b48685
fix: sub_reseller_code → sub_resellerid (存org_id,修复多层分销链遍历)
- sub_resellers.json 模型: sub_reseller_code(varchar 64) → sub_resellerid(varchar 32)
- 唯一索引: idx_sr_code → idx_sr_sub_resellerid
- codes 关联: sub_resellerid 关联 organization.orgname
- init.py create_sub_reseller: 写入 sub_resellers 表(非 sub_distributors),字段 sub_resellerid
- init.py get_distribution_chain: SQL SELECT sub_resellerid(非 orgid)
- JSON/UI/dspy 字段引用同步更新
- DDL 重新生成
2026-07-20 15:25:38 +08:00
..
2026-05-26 14:21:31 +08:00
2026-05-26 14:21:31 +08:00
2026-07-20 15:25:38 +08:00
2026-06-05 22:11:33 +08:00
2026-06-05 22:11:33 +08:00
2026-06-05 22:11:33 +08:00
2026-05-26 14:21:31 +08:00
2026-07-09 16:24:48 +08:00
2026-07-20 15:25:38 +08:00
2026-06-20 12:10:48 +08:00
2026-07-09 14:38:38 +08:00
2026-07-03 16:21:59 +08:00
2026-05-25 15:37:06 +08:00
2026-05-25 15:37:06 +08:00