|
|
@@ -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 |
|
|
|