Commit 9a3ca47f by 杨树贤

model

parent 3f126e3e
Showing with 1 additions and 1 deletions
......@@ -1645,7 +1645,7 @@ class DataService
foreach ($supplierCodeList as $key => $value) {
$supplierId = SupplierChannelModel::where('supplier_code', $value)->value('supplier_id');
//去找出对应的跟单员
$contact = SupplierChannelModel::where('supplier_id', $supplierId)
$contact = SupplierContactModel::where('supplier_id', $supplierId)
->where('channel_user_type', 4)->first();
if (empty($contact)) {
\dump("供应商{$value}没有找到跟单员");
......
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