Commit eb7fc761 by 杨树贤

修复审核状态问题

parent 47415210
Showing with 6 additions and 0 deletions
......@@ -264,6 +264,12 @@ class SyncSupplierService
$redis->hdel('supplier_status_before_disable', $supplierId);
}
//如果是移除实体名单,但是得到之前的状态还是禁止交易,那么强行改成审核中
if (!$isEntity && $preStatus == SupplierChannelModel::STATUS_DISABLE) {
$preStatus = SupplierChannelModel::STATUS_IN_REVIEW;
}
//修改供应商的状态
SupplierChannelModel::where('supplier_id', $supplierId)->update([
'is_entity' => $isEntityResult,
......
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