From 60cd781fc41cb8cc8fbfed9f7eaaa78aac9216f7 Mon Sep 17 00:00:00 2001 From: DengBiao <2319963317@qq.com> Date: Fri, 25 Aug 2023 17:48:02 +0800 Subject: [PATCH] update --- app/admin/svc/svc_central_kitchen_for_school_package.go | 1 + 1 file changed, 1 insertion(+) diff --git a/app/admin/svc/svc_central_kitchen_for_school_package.go b/app/admin/svc/svc_central_kitchen_for_school_package.go index 296ba48..5de36da 100644 --- a/app/admin/svc/svc_central_kitchen_for_school_package.go +++ b/app/admin/svc/svc_central_kitchen_for_school_package.go @@ -15,6 +15,7 @@ func AddCentralKitchenForSchoolPackage(req md.SaveCentralKitchenForSchoolPackage now := time.Now() //TODO::判断当前月份是否存在 centralKitchenForSchoolPackageDb := db.CentralKitchenForSchoolPackageDb{} + centralKitchenForSchoolPackageDb.Set() isHasPackage, err := centralKitchenForSchoolPackageDb.GetCentralKitchenForSchoolPackageByMonth(req.Year, req.Month) if err != nil { return err