Commit a8576ee1 by 杨树贤

模型不对

parent 6f6a7e4e
Showing with 1 additions and 1 deletions
......@@ -1129,7 +1129,7 @@ class DataService
'admin_id' => 1000 // 系统管理员
]);
//先判断是否存在相同的采购员
$sameContactId = SupplierChannelModel::where('supplier_id', $supplierId)
$sameContactId = SupplierContactModel::where('supplier_id', $supplierId)
->where('channel_user_type', 1)->value('contact_id');
if ($sameContactId) {
\dump('已经存在普通采购员,要转换为跟单采购员: ' . $followerCodeId . ' 供应商ID : ' . $supplierId . ' 供应商名称 : ' . $supplierInfo['name']);
......
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