dengbiao 2 months ago
parent
commit
f097ec3cab
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/admin/hdl/enterprise_manage/hdl_central_kitchen_for_school.go

+ 1
- 1
app/admin/hdl/enterprise_manage/hdl_central_kitchen_for_school.go View File

@@ -505,7 +505,7 @@ func SetCentralKitchenForSchoolWithSpecByMealLabel(c *gin.Context) {
mealLabelDb := db.MealLabelDb{} mealLabelDb := db.MealLabelDb{}
mealLabelDb.Set(req.EnterpriseId) mealLabelDb.Set(req.EnterpriseId)


var nowIds map[int]bool
var nowIds = map[int]bool{}
for _, v := range req.MealLabelList { for _, v := range req.MealLabelList {
if v.Id != 0 { if v.Id != 0 {
mealLabel, err := mealLabelDb.GetMealLabel(v.Id) mealLabel, err := mealLabelDb.GetMealLabel(v.Id)


Loading…
Cancel
Save