订单导出错误

lszyh
zengyyh 4 months ago
parent ab925a4b92
commit d3a92a6ee0
  1. 3
      app/store/model/Order.php

@ -231,6 +231,9 @@ class Order extends OrderModel
}
// 起止时间
if (!empty($params['betweenTime'])) {
if (isset($params['betweenTime']) && is_array($params['betweenTime'])) {
$params['betweenTime'] = implode(',', $params['betweenTime']);
}
$betweenTime = explode(',', $params['betweenTime']);
$times = between_time($betweenTime);
$filter[] = ['order.create_time', '>=', $times['start_time']];

Loading…
Cancel
Save