From 8a4d298ec99acaed053425a0ab85436eaa1fcbae Mon Sep 17 00:00:00 2001 From: lin fan Date: Mon, 4 Nov 2024 23:06:46 +0800 Subject: [PATCH] 1 --- api/controllers/wxapp/licheb/Score.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/api/controllers/wxapp/licheb/Score.php b/api/controllers/wxapp/licheb/Score.php index 9b44bad3..02942737 100644 --- a/api/controllers/wxapp/licheb/Score.php +++ b/api/controllers/wxapp/licheb/Score.php @@ -236,7 +236,7 @@ class Score extends Wxapp $max = $this->customers_model->count($where_max); $where['biz_id'] = $this->biz_id; $value = $this->customers_model->count($where); - $series_value[] = $value > $max / 10 ? round($value / $max, 1) : 0.1; + $series_value[] = $value > $max / 5 ? round($value / $max, 1) : 0.2; $max_total = $max_total + $max; //跟进能力 @@ -248,7 +248,7 @@ class Score extends Wxapp $max = $this->customers_model->count($where_max); $where['biz_id'] = $this->biz_id; $value = $this->customers_model->count($where); - $series_value[] = $value > $max / 10 ? round($value / $max, 1) : 0.1; + $series_value[] = $value > $max / 5 ? round($value / $max, 1) : 0.2; $max_total = $max_total + $max; //邀约能力 @@ -261,7 +261,7 @@ class Score extends Wxapp $max = $this->customers_model->count($where_max); $where['biz_id'] = $this->biz_id; $value = $this->customers_model->count($where); - $series_value[] = $value > $max / 10 ? round($value / $max, 1) : 0.1; + $series_value[] = $value > $max / 5 ? round($value / $max, 1) : 0.2; $max_total = $max_total + $max; //成交能力 @@ -274,7 +274,7 @@ class Score extends Wxapp $max = $this->orders_model->count($where_max); $where["biz_id"] = $this->biz_id; $value = $this->orders_model->count($where); - $series_value[] = $value > $max / 10 ? round($value / $max, 1) : 0.1; + $series_value[] = $value > $max / 5 ? round($value / $max, 1) : 0.2; $max_total = $max_total + $max; //交付能力 @@ -287,7 +287,7 @@ class Score extends Wxapp $max = $this->orders_model->count($where_max); $where["biz_id"] = $this->biz_id; $value = $this->orders_model->count($where); - $series_value[] = $value > $max / 10 ? round($value / $max, 1) : 0.1; + $series_value[] = $value > $max / 5 ? round($value / $max, 1) : 0.2; $max_total = $max_total + $max; foreach ($names as $key => $value) {