Commit c5ffddb1 by 杨树贤

修复审核没有同步到金蝶的bug

parent 8439df61
Showing with 2 additions and 2 deletions
...@@ -73,9 +73,9 @@ class SupplierAuditService ...@@ -73,9 +73,9 @@ class SupplierAuditService
$content = $auditStatus; $content = $auditStatus;
$logService->AddLog($supplierId, LogModel::UPDATE_OPERATE, $action, $content); $logService->AddLog($supplierId, LogModel::UPDATE_OPERATE, $action, $content);
} }
$needReview = SupplierChannelModel::where('supplier_id', $supplierId)->value('need_review');
//复审通过状态的供应商才会同步到金蝶 //复审通过状态的供应商才会同步到金蝶
if ($supplier['need_review'] == 0) { if ($needReview == 0) {
//发送队列消息同步到金蝶 //发送队列消息同步到金蝶
$service = new SyncSupplierService(); $service = new SyncSupplierService();
$service->syncSupplierToErp($supplierId); $service->syncSupplierToErp($supplierId);
......
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