Commit 79784040 by mushishixian

待复审bug

parent 0a15f4b8
Showing with 1 additions and 1 deletions
......@@ -50,11 +50,11 @@ class SupplierAuditService
//如果是待复审状态,通过的话还要将是否需要复审状态置为0
} elseif ($supplier['status'] === SupplierChannelModel::STATUS_PENDING) {
if ($status == SupplierChannelModel::STATUS_PASSED) {
$update['need_review'] = 0;
$result = $model->where('supplier_id', $supplierId)->update([
'update_time' => time(),
'status' => $status,
'reject_reason' => $rejectReason,
'need_review' => 0,
]);
} else {
$result = $model->where('supplier_id', $supplierId)->update([
......
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