Commit db1f2e73 by 杨树贤

fix

parent 3be90c83
......@@ -20,6 +20,7 @@ class SupplierStatisticsApiController extends Controller
public function GetSupplierStatistics($request)
{
$this->response(0, 'ok', []);
ini_set('memory_limit', -1);
$service = new SupplierStatisticsService();
$statistics = $service->getSupplierListStatistics();
......
......@@ -1089,7 +1089,7 @@ class DataService
//3.2 数据跟单员的联系人信息:初始化为【线上采购员】维护的联系人信息
//如果数据跟单员已经存在在供应商的采购员里,也需要把他对应的联系人初始化成线上采购员对应的联系人信息
foreach ($dataFollowersCodeIds as $followerCodeId) {
$onlinePurchaserContact = SupplierContactModel::where('can_check_uids', $onlinePurchaserCodeId)->first();
$onlinePurchaserContact = SupplierContactModel::where('can_check_uids', $onlinePurchaserCodeId)->where('supplier_id',$supplierId)->first();
if (!empty($onlinePurchaserContact)) {
$onlinePurchaserContact = $onlinePurchaserContact->toArray();
}
......
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