Commit fdfe3b5f by 杨树贤

加入限制

parent 865d0fea
Showing with 2 additions and 2 deletions
...@@ -1144,7 +1144,7 @@ class SupplierService ...@@ -1144,7 +1144,7 @@ class SupplierService
} }
} }
$result['debug_info']['assign_type'] = '现货商-分配4人'; $result['debug_info']['assign_type'] = '现货商-分配4人';
} else { } else if ($supplierGroup == SupplierChannelModel::SUPPLIER_GROUP_ORIGINAL || $supplierGroup == SupplierChannelModel::SUPPLIER_GROUP_PROXY) {
// 代理商/原厂:只分配1人 // 代理商/原厂:只分配1人
// 先检查是否已有数据跟单员 // 先检查是否已有数据跟单员
$existingDataFollower = SupplierContactModel::where('supplier_id', $supplierId) $existingDataFollower = SupplierContactModel::where('supplier_id', $supplierId)
...@@ -1361,7 +1361,7 @@ class SupplierService ...@@ -1361,7 +1361,7 @@ class SupplierService
} else { } else {
$result['success']++; $result['success']++;
$assignCodeIds = isset($assignResult['debug_info']['assign_code_ids']) ? $assignResult['debug_info']['assign_code_ids'] : []; $assignCodeIds = isset($assignResult['debug_info']['assign_code_ids']) ? $assignResult['debug_info']['assign_code_ids'] : [];
$assignNames = array_map(function($codeId) use ($adminUserService) { $assignNames = array_map(function ($codeId) use ($adminUserService) {
return $adminUserService->getAdminUserNameByCodeId($codeId); return $adminUserService->getAdminUserNameByCodeId($codeId);
}, $assignCodeIds); }, $assignCodeIds);
......
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