Pārlūkot izejas kodu

update

add_mode
DengBiao pirms 1 gada
vecāks
revīzija
60cd781fc4
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  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 Parādīt failu

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


Notiek ielāde…
Atcelt
Saglabāt