Commit 352f4b6b by 朱继来

Merge branch 'zjl_send_sales_20211223' into development

parents cf196b99 5d0213b3
Showing with 5 additions and 1 deletions
...@@ -91,7 +91,11 @@ class OrderModel extends Model ...@@ -91,7 +91,11 @@ class OrderModel extends Model
// 订单推送业务员 // 订单推送业务员
if (!empty($map['sale_id'])) { if (!empty($map['sale_id'])) {
$query->whereIn('o.sale_id', explode(',', $map['sale_id'])); if (is_array($map['sale_id'])) {
$query->whereIn('o.sale_id', $map['sale_id']);
} else {
$query->where('o.sale_id', $map['sale_id']);
}
} }
// 订单类型 // 订单类型
......
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