Commit 47415210 by 杨树贤

修复审核状态问题

parent 5ab52032
Showing with 1 additions and 1 deletions
......@@ -269,7 +269,7 @@ class SyncSupplierService
'is_entity' => $isEntityResult,
'update_time' => time(),
//这里的逻辑是,因为取消实体名单以后,如果之前的状态是黑名单的话,直接变成待提审
'status' => $isEntity ? SupplierChannelModel::STATUS_DISABLE : $preStatus == SupplierChannelModel::STATUS_BLOCK ? SupplierChannelModel::STATUS_PENDING : $preStatus,
'status' => $isEntity ? SupplierChannelModel::STATUS_DISABLE : ($preStatus == SupplierChannelModel::STATUS_BLOCK ? SupplierChannelModel::STATUS_IN_REVIEW : $preStatus),
'disable_reason' => $reason,
]);
$isYunxinSupplier = false;
......
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