Commit 23d4650b by 朱继来

导出去掉订单类型

parent e429e1b3
Showing with 5 additions and 5 deletions
......@@ -162,11 +162,11 @@ class OrderModel extends Model
$query->where('o.order_source', 'like', '%ptag='.$map['order_source_ptag'].'%');
}
})
->where(function ($query) use ($map) {
if ($map['order_type_filter']) { // 自营获取线上、京东、象牙宝订单
$query->whereIn('o.order_type', $map['order_type_filter']);
}
})
// ->where(function ($query) use ($map) {
// if ($map['order_type_filter']) { // 自营获取线上、京东、象牙宝订单
// $query->whereIn('o.order_type', $map['order_type_filter']);
// }
// })
->where(function ($query) use ($map) {
// 同步状态
if (!empty($map['erp_order_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