feat: 迁移预警处理审核与备注附件流程

This commit is contained in:
Yvan
2026-11-03 20:40:16 +08:00
parent 7203c34409
commit 838c2c496f
36 changed files with 2312 additions and 13 deletions
+6 -1
View File
@@ -82,9 +82,13 @@ func wireApp(configServer *config.Server, store *config.Store, logger *slog.Logg
auditRecorderUsecase := system2.NewAuditRecorderUsecase(auditRecordRepo)
auditRecorder := system3.NewAuditRecorder(auditRecorderUsecase)
registry := taskRegistry()
alertRuleRepo := business.NewAlertRuleRepo(dataData)
alertRecordRepo := business.NewAlertRecordRepo(dataData)
accountRepo := business.NewAccountRepo(dataData)
accountUsecase := business2.NewAccountUsecase(accountRepo)
alertRecordUsecase := business2.NewAlertRecordUsecase(alertRecordRepo, accountUsecase)
alertRecordService := business3.NewAlertRecordService(alertRecordUsecase)
alertRecord := handler.NewAlertRecord(alertRecordService)
alertRuleRepo := business.NewAlertRuleRepo(dataData)
alertRuleUsecase := business2.NewAlertRuleUsecase(alertRuleRepo, accountUsecase)
alertRuleService := business3.NewAlertRuleService(alertRuleUsecase)
alertRule := handler.NewAlertRule(alertRuleService)
@@ -205,6 +209,7 @@ func wireApp(configServer *config.Server, store *config.Store, logger *slog.Logg
integrationConfigService := integration2.NewIntegrationConfigService(integrationConfigUsecase)
integrationConfig := handler.NewIntegrationConfig(integrationConfigService)
set := &handler.Set{
AlertRecord: alertRecord,
AlertRule: alertRule,
BusinessPromote: businessPromote,
Business: handlerBusiness,