wecom-fullstack
22ec40052d
fix(alignment): /tree accept and apply map_id filter for KPI selection
...
GET /api/cma/alignment/tree ignored the map_id query param (FastAPI silently dropped it) so the board always rendered the full active-KPI set of the account. Add map_id: Optional[int] = Query(None) and filter KPIDefinition.map_id when provided; no param keeps the previous behaviour. Entity scoping unchanged (entity_id from token) - cross-account map_id yields an empty tree, no other-account KPI is returned. Only the KPI selection set is filtered; vertical/horizontal/bsc_chain builders untouched.
2026-10-01 15:58:40 +08:00
..
2026-05-28 17:32:22 +08:00
2026-09-23 01:03:19 +08:00
2026-09-26 02:42:04 +08:00
2026-09-23 23:08:26 +08:00
2026-09-23 23:08:26 +08:00
2026-09-25 14:06:38 +08:00
2026-10-01 15:58:40 +08:00
2026-09-26 02:42:04 +08:00
2026-09-12 10:07:20 +08:00
2026-09-17 00:10:07 +08:00
2026-09-26 02:42:04 +08:00
2026-09-25 22:42:25 +08:00
2026-09-26 02:42:04 +08:00
2026-08-28 00:31:31 +08:00
2026-09-26 02:42:04 +08:00
2026-09-25 22:42:25 +08:00
2026-08-11 11:29:39 +08:00
2026-09-23 23:08:26 +08:00
2026-09-23 23:08:26 +08:00
2026-08-28 18:03:47 +08:00
2026-09-25 22:42:25 +08:00
2026-09-26 02:42:04 +08:00
2026-09-18 00:34:04 +08:00
2026-09-18 18:42:38 +08:00
2026-09-26 02:42:04 +08:00
2026-09-26 02:42:04 +08:00
2026-09-23 21:39:24 +08:00
2026-09-29 13:00:48 +08:00
2026-09-23 23:08:26 +08:00
2026-08-28 18:03:47 +08:00
2026-09-23 23:08:26 +08:00
2026-09-24 01:07:29 +08:00
2026-09-23 23:08:26 +08:00
2026-07-19 10:07:46 +08:00
2026-09-21 14:56:43 +08:00
2026-09-15 18:12:05 +08:00
2026-08-11 11:29:39 +08:00
2026-09-03 23:09:58 +08:00
2026-09-03 23:00:15 +08:00
2026-09-26 02:42:04 +08:00
2026-09-21 09:37:38 +08:00
2026-09-26 02:42:04 +08:00
2026-07-22 18:22:48 +08:00
2026-09-16 14:48:06 +08:00
2026-09-25 16:34:52 +08:00
2026-08-26 23:45:20 +08:00
2026-09-22 11:06:02 +08:00
2026-09-18 20:03:55 +08:00
2026-09-23 21:39:24 +08:00
2026-05-28 17:32:22 +08:00
2026-09-14 16:41:15 +08:00
2026-09-26 02:42:04 +08:00
2026-09-14 16:41:15 +08:00
2026-09-26 02:42:04 +08:00
2026-07-12 17:46:08 +08:00
2026-09-26 02:42:04 +08:00
2026-09-21 10:36:02 +08:00
2026-09-23 23:08:26 +08:00
2026-09-23 18:29:52 +08:00
2026-09-11 17:27:12 +08:00
2026-09-16 14:56:57 +08:00
2026-05-28 17:32:22 +08:00
2026-08-28 18:03:47 +08:00
2026-08-30 19:16:19 +08:00
2026-09-08 20:11:59 +08:00
2026-08-28 18:03:47 +08:00