增加任务增删改查时对设备任务关联表的维护

This commit is contained in:
2025-11-03 16:29:57 +08:00
parent 66554a1376
commit 8669dcd9b0
10 changed files with 312 additions and 85 deletions

View File

@@ -170,7 +170,14 @@ func initDomainServices(cfg *config.Config, infra *Infrastructure, logger *logs.
)
// 计划管理器
planService := plan.NewPlanService(planExecutionManager, analysisPlanTaskManager, infra.repos.planRepo, logger)
planService := plan.NewPlanService(
planExecutionManager,
analysisPlanTaskManager,
infra.repos.planRepo,
infra.repos.deviceRepo,
infra.repos.unitOfWork,
taskFactory,
logger)
return &DomainServices{
pigPenTransferManager: pigPenTransferManager,