Commit 0613b9f2 by 朱继来

调整订单导出

parent 41330d8d
Showing with 1 additions and 1 deletions
...@@ -542,7 +542,7 @@ Class OrderController extends Controller ...@@ -542,7 +542,7 @@ Class OrderController extends Controller
->where(function ($query) use ($map) { ->where(function ($query) use ($map) {
// 订单状态 // 订单状态
if (!empty($map['order_status'])) { if (!empty($map['order_status'])) {
$query->where('o.status', '=', $map['order_status']); $query->whereIn('o.status', explode(',', $map['order_status']));
} }
}) })
->where(function ($query) use ($map) { ->where(function ($query) use ($map) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment