Commit 5d0213b3 by 朱继来

调整

parent 56b8d3c9
Showing with 4 additions and 0 deletions
......@@ -91,7 +91,11 @@ class OrderModel extends Model
// 订单推送业务员
if (!empty($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