From 455d8c27668e8d03a99585644cc90c7a262a45ea Mon Sep 17 00:00:00 2001 From: DengBiao <2319963317@qq.com> Date: Fri, 6 Oct 2023 16:24:35 +0800 Subject: [PATCH] update --- .../svc_central_kitchen_for_school.go | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/app/admin/svc/enterprise_manage/svc_central_kitchen_for_school.go b/app/admin/svc/enterprise_manage/svc_central_kitchen_for_school.go index b8376a1..1961aaa 100644 --- a/app/admin/svc/enterprise_manage/svc_central_kitchen_for_school.go +++ b/app/admin/svc/enterprise_manage/svc_central_kitchen_for_school.go @@ -814,15 +814,15 @@ func CentralKitchenForSchoolReserveList(req md.CentralKitchenForSchoolReserveLis centralKitchenForSchoolUserWithDayDb := db.CentralKitchenForSchoolUserWithDayDb{} centralKitchenForSchoolUserWithDayDb.Set(0) for _, v := range m { - count1, err1 := centralKitchenForSchoolUserWithDayDb.CountCentralKitchenForSchoolUserWithDayByOrdNo( - v.CentralKitchenForSchoolPackageOrdForReserve.OutTradeNo, enum2.CentralKitchenForSchoolUserWithDayStateForCancel, - req.StartDate, req.EndDate, []int{req.Kind}) - if err1 != nil { - return nil, 0, err1 - } - if count1 == 0 { - continue - } + //count1, err1 := centralKitchenForSchoolUserWithDayDb.CountCentralKitchenForSchoolUserWithDayByOrdNo( + // v.CentralKitchenForSchoolPackageOrdForReserve.OutTradeNo, enum2.CentralKitchenForSchoolUserWithDayStateForCancel, + // req.StartDate, req.EndDate, []int{req.Kind}) + //if err1 != nil { + // return nil, 0, err1 + //} + //if count1 == 0 { + // continue + //} resp = append(resp, md.CentralKitchenForSchoolReserveListResp{ Id: v.CentralKitchenForSchoolPackageOrdForReserve.Id,