Commit 93151240 by 杨树贤

修改同步时机

parent 1076fa37
Showing with 4 additions and 2 deletions
......@@ -79,8 +79,10 @@ class SupplierAuditService
//发送队列消息同步到金蝶
$service = new SyncSupplierService();
$service->syncSupplierToErp($supplierId);
//同步给一体化系统
(new SyncSupplierService())->syncSupplierToUnited($supplierId);
if ($status == SupplierChannelModel::STATUS_PASSED ) {
//同步给一体化系统
(new SyncSupplierService())->syncSupplierToUnited($supplierId);
}
}
return $result;
}
......
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