From 7e3acf80ce407eb63168c01f5aa811eeea39b178 Mon Sep 17 00:00:00 2001 From: zhi Date: Tue, 31 Mar 2026 07:18:48 +0000 Subject: [PATCH] BE-CAL-API-002: Implement calendar day-view query API - Add GET /calendar/day endpoint with optional ?date= query param - Returns unified CalendarDayResponse merging real slots + virtual plan slots - New CalendarSlotItem schema supports both real (id) and virtual (virtual_id) slots - Excludes inactive slots (skipped/aborted) from results - All slots sorted by scheduled_at ascending --- HarborForge.Backend | 2 +- plans/TASKLIST.md | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/HarborForge.Backend b/HarborForge.Backend index 751b3bc..c75ded0 160000 --- a/HarborForge.Backend +++ b/HarborForge.Backend @@ -1 +1 @@ -Subproject commit 751b3bc5744e7af73afdd03dddb883e2666bc316 +Subproject commit c75ded02c8952833b72b679433b60420f73cdb14 diff --git a/plans/TASKLIST.md b/plans/TASKLIST.md index c85bb91..b2f9d0f 100644 --- a/plans/TASKLIST.md +++ b/plans/TASKLIST.md @@ -144,10 +144,10 @@ - [x] 支持 job/system/event_data - [x] 接入 overlap 与 workload warning -- [ ] BE-CAL-API-002:实现某日 Calendar 查询 API(backend only) - - [ ] 返回真实 slot - - [ ] 合成当日 plan 虚拟 slot - - [ ] 输出统一排序结构 +- [x] BE-CAL-API-002:实现某日 Calendar 查询 API(backend only) + - [x] 返回真实 slot + - [x] 合成当日 plan 虚拟 slot + - [x] 输出统一排序结构 - [ ] BE-CAL-API-003:实现 Calendar 编辑 API(backend only) - [ ] 支持真实 slot 编辑