实现修改原料营养信息

This commit is contained in:
2025-11-22 16:44:22 +08:00
parent f81635f997
commit 9aea487537
11 changed files with 411 additions and 165 deletions

View File

@@ -217,6 +217,7 @@ func initDomainServices(ctx context.Context, cfg *config.Config, infra *Infrastr
// 配方管理服务
recipeService := recipe.NewRecipeService(
logs.AddCompName(baseCtx, "RecipeService"),
infra.repos.unitOfWork,
infra.repos.nutrientRepo,
infra.repos.rawMaterialRepo,
infra.repos.pigTypeRepo,