Kaynağa Gözat

update

add_mode
DengBiao 1 yıl önce
ebeveyn
işleme
ee1f5eb230
1 değiştirilmiş dosya ile 5 ekleme ve 1 silme
  1. +5
    -1
      app/admin/svc/enterprise_manage/svc_central_kitchen_for_school.go

+ 5
- 1
app/admin/svc/enterprise_manage/svc_central_kitchen_for_school.go Dosyayı Görüntüle

@@ -814,9 +814,13 @@ func CentralKitchenForSchoolReserveList(req md.CentralKitchenForSchoolReserveLis
centralKitchenForSchoolUserWithDayDb := db.CentralKitchenForSchoolUserWithDayDb{}
centralKitchenForSchoolUserWithDayDb.Set(0)
for _, v := range m {
var kindList []int
if req.Kind != 0 {
kindList = append(kindList, req.Kind)
}
count1, err1 := centralKitchenForSchoolUserWithDayDb.CountCentralKitchenForSchoolUserWithDayByOrdNoV2(
v.CentralKitchenForSchoolPackageOrdForReserve.OutTradeNo, enum2.CentralKitchenForSchoolUserWithDayStateForCancel,
req.StartDate, req.EndDate, []int{req.Kind})
req.StartDate, req.EndDate, kindList)
if err1 != nil {
return nil, 0, err1
}


Yükleniyor…
İptal
Kaydet