From 28b8a439e565fd6813e1184a6155b3b3742fb4d1 Mon Sep 17 00:00:00 2001 From: nizongfeng Date: Wed, 24 Nov 2021 11:09:43 +0800 Subject: [PATCH] =?UTF-8?q?=E6=90=9C=E7=B4=A2=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/admin/service/PaymentOrderService.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/application/admin/service/PaymentOrderService.php b/application/admin/service/PaymentOrderService.php index 556a3e7..dd55614 100644 --- a/application/admin/service/PaymentOrderService.php +++ b/application/admin/service/PaymentOrderService.php @@ -208,12 +208,12 @@ class PaymentOrderService //时间区间查询 if (!empty($param['startTime']) ) { - $item_where_arr[] = " a.create_time >= '{$param["startTime"]} 00:00:00' "; - $hotel_where_arr[]=" b.create_time >= '{$param['startTime']} 00:00:00' "; + $item_where_arr[] = " a.check_in_date >= '{$param["startTime"]} 00:00:00' "; + $hotel_where_arr[]=" b.check_in_date >= '{$param['startTime']} 00:00:00' "; } if (!empty($param['endTime'])) { - $item_where_arr[] = " a.create_time <= '{$param["endTime"]} 23:59:59' "; - $hotel_where_arr[]=" b.create_time <= '{$param['endTime']} 23:59:59' "; + $item_where_arr[] = " a.check_in_date <= '{$param["endTime"]} 23:59:59' "; + $hotel_where_arr[]=" b.check_in_date <= '{$param['endTime']} 23:59:59' "; } return $dao->getSubOrderListByWhere(join(" and ",$hotel_where_arr),join(" and ",$item_where_arr),join(" and ",$where_arr),$param);