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