Version: 0.2.2.dev.260210

feat: 🗑️ 新增删除任务块接口

- 实现 schedules、schedule_events 与 task_items 三表的联动删除
- 保证数据一致性,避免遗留脏数据 
This commit is contained in:
LoveLosita
2026-02-10 22:05:59 +08:00
parent d5f0b8da63
commit 0bc06963ee
7 changed files with 142 additions and 6 deletions

View File

@@ -230,4 +230,14 @@ var ( //请求相关的响应
Status: "40034",
Info: "task class item already arranged",
}
TargetTaskNotEmbeddedInAnySchedule = Response{ //目标任务未嵌入任何日程
Status: "40035",
Info: "target task not embedded in any schedule",
}
TaskClassItemNotFound = Response{ //任务类项目未找到
Status: "40036",
Info: "task class item not found",
}
)