edit-admin-filter_order

This commit is contained in:
lccsw
2022-04-13 16:19:47 +08:00
parent 18b4c037a5
commit 4d350ba0dd
+2 -2
View File
@@ -127,10 +127,10 @@ class Ordersv2List
if ($params['order_time']) {
$order_time = explode(' ~ ', $params['order_time']);
if ($order_time[0]) {
$where["{$this->t1}.order_time >="] = strtotime($order_time[0] . ' 00:00:00');
$where["{$this->t1}.order_time >="] = $order_time[0] . ' 00:00:00';
}
if ($order_time[1]) {
$where["{$this->t1}.order_time <="] = strtotime($order_time[1] . ' 23:59:59');
$where["{$this->t1}.order_time <="] = $order_time[1] . ' 23:59:59';
}
}
//开票时间