Browse Source

update

add_mode
DengBiao 1 year ago
parent
commit
60cd781fc4
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      app/admin/svc/svc_central_kitchen_for_school_package.go

+ 1
- 0
app/admin/svc/svc_central_kitchen_for_school_package.go View File

@@ -15,6 +15,7 @@ func AddCentralKitchenForSchoolPackage(req md.SaveCentralKitchenForSchoolPackage
now := time.Now() now := time.Now()
//TODO::判断当前月份是否存在 //TODO::判断当前月份是否存在
centralKitchenForSchoolPackageDb := db.CentralKitchenForSchoolPackageDb{} centralKitchenForSchoolPackageDb := db.CentralKitchenForSchoolPackageDb{}
centralKitchenForSchoolPackageDb.Set()
isHasPackage, err := centralKitchenForSchoolPackageDb.GetCentralKitchenForSchoolPackageByMonth(req.Year, req.Month) isHasPackage, err := centralKitchenForSchoolPackageDb.GetCentralKitchenForSchoolPackageByMonth(req.Year, req.Month)
if err != nil { if err != nil {
return err return err


Loading…
Cancel
Save