重构 #4

Merged
huang merged 106 commits from 重构 into main 2025-09-18 21:51:17 +08:00
Showing only changes of commit fcea68c7c7 - Show all commits

View File

@@ -14,6 +14,8 @@ type PlanRepository interface {
ListBasicPlans() ([]models.Plan, error)
// GetBasicPlanByID 根据ID获取计划的基本信息不包含子计划和任务详情
GetBasicPlanByID(id uint) (*models.Plan, error)
// GetPlanByID 根据ID获取计划包含子计划和任务详情
GetPlanByID(id uint) (*models.Plan, error)
}
// gormPlanRepository 是 PlanRepository 的 GORM 实现