Commit 72e73c2f by 杨树贤

复审等级修改去除

parent eaa09766
Showing with 5 additions and 5 deletions
......@@ -67,11 +67,11 @@ class SupplierAuditService
if ($result) {
//如果状态是复审
if ($supplier['status'] == SupplierChannelModel::STATUS_NEED_REVIEW) {
if ($status == SupplierChannelModel::STATUS_PASSED) {
SupplierChannelModel::where('supplier_id', $supplierId)->update([
'level' => 'E',
]);
}
// if ($status == SupplierChannelModel::STATUS_PASSED) {
// SupplierChannelModel::where('supplier_id', $supplierId)->update([
// 'level' => 'E',
// ]);
// }
$auditStatus = $status == SupplierChannelModel::STATUS_PASSED ? '复审通过' : '复审不通过,原因是 : ' . $rejectReason;
$action = '复审供应商';
} else {
......
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