|
|
@@ -505,7 +505,7 @@ func SetCentralKitchenForSchoolWithSpecByMealLabel(c *gin.Context) { |
|
|
|
mealLabelDb := db.MealLabelDb{} |
|
|
|
mealLabelDb.Set(req.EnterpriseId) |
|
|
|
|
|
|
|
var nowIds map[int]bool |
|
|
|
var nowIds = map[int]bool{} |
|
|
|
for _, v := range req.MealLabelList { |
|
|
|
if v.Id != 0 { |
|
|
|
mealLabel, err := mealLabelDb.GetMealLabel(v.Id) |
|
|
|