nizongfeng преди 3 години
родител
ревизия
28b8a439e5
променени са 1 файла, в които са добавени 4 реда и са изтрити 4 реда
  1. +4
    -4
      application/admin/service/PaymentOrderService.php

+ 4
- 4
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);


Зареждане…
Отказ
Запис