Commit f86993d9 by 朱继来

调整订单导出同步判断

parent 7a27307f
Showing with 2 additions and 0 deletions
......@@ -539,11 +539,13 @@ Class OrderController extends Controller
})
->where(function ($query) use ($map) {
// 同步状态
if (!empty($map['erp_order_id'])) {
if ($map['erp_order_id'] == 1) {
$query->where('o.erp_order_id', '<>', '');
} else {
$query->where('o.erp_order_id', '=', '');
}
}
})
->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