Commit ad442ca9 by 朱继来

调整sale_id

parent 81c43946
Showing with 1 additions and 1 deletions
...@@ -95,7 +95,7 @@ class OrderModel extends Model ...@@ -95,7 +95,7 @@ class OrderModel extends Model
->where(function ($query) use ($map) { ->where(function ($query) use ($map) {
// 订单推送业务员 // 订单推送业务员
if (!empty($map['sale_id'])) { if (!empty($map['sale_id'])) {
$query->whereIn('o.sale_id', $map['sale_id']); $query->whereIn('o.sale_id', explode(',', $map['sale_id']));
} }
}) })
->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