Commit 31e41ea0 by 杨树贤

拉黑恢复判断

parent 307b4802
Showing with 4 additions and 1 deletions
......@@ -168,7 +168,10 @@ class SyncSupplierService
$data['status'] = SupplierChannelModel::STATUS_BLOCK;
$data['block_reason'] = '一体化系统黑名单供应商';
} else {
$data['status'] = SupplierChannelModel::STATUS_IN_REVIEW;
//从拉黑变成审核中,才变成审核中,因为有可能不是修改公司类型,只是修改公司性质
if ($supplier['status'] == SupplierChannelModel::STATUS_BLOCK) {
$data['status'] = SupplierChannelModel::STATUS_IN_REVIEW;
}
}
}
$data['sync_united_status'] = SupplierChannelModel::SYNC_UNITED_STATUS_OK;
......
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