From 30563323a53b0d0260c97d08a9e8bd4cc8227a95 Mon Sep 17 00:00:00 2001
From: quanwei <419654421@qq.com>
Date: Sat, 13 Dec 2025 18:03:52 +0800
Subject: [PATCH] 完成级差奖 完成平级奖
---
admin/app/shop/model/product/Comment.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/admin/app/shop/model/product/Comment.php b/admin/app/shop/model/product/Comment.php
index 79b72be..110f659 100644
--- a/admin/app/shop/model/product/Comment.php
+++ b/admin/app/shop/model/product/Comment.php
@@ -49,7 +49,7 @@
->field('round(avg(express_score),1) as score')->find();
$server = $this->where(['shop_supplier_id' => $shop_supplier_id, 'status'=>1,'is_delete'=>0])
->field('round(avg(server_score),1) as score')->find();
- $describe = $this->where(['shop_supplier_id '=> $shop_supplier_id,'status'=>1,'is_delete'=>0])
+ $describe = $this->where(['shop_supplier_id'=> $shop_supplier_id,'status'=>1,'is_delete'=>0])
->field('round(avg(describe_score),1) as score')->find();
//更新店铺分数
$SupplierModel->where('shop_supplier_id','=', $shop_supplier_id)
--
Gitblit v1.9.2