瀏覽代碼

update

add_mode
DengBiao 1 年之前
父節點
當前提交
455d8c2766
共有 1 個檔案被更改,包括 9 行新增9 行删除
  1. +9
    -9
      app/admin/svc/enterprise_manage/svc_central_kitchen_for_school.go

+ 9
- 9
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,


Loading…
取消
儲存