Commit 43768ff9 authored by hujun's avatar hujun

后台经纪人评价修改

parent 39357292
...@@ -362,7 +362,7 @@ class Agent extends Basic ...@@ -362,7 +362,7 @@ class Agent extends Basic
$agent_evaluate_fraction_res = $model->getAgentEvaluateFraction($field, $params); $agent_evaluate_fraction_res = $model->getAgentEvaluateFraction($field, $params);
$agent_evaluate_fraction = 0; $agent_evaluate_fraction = 0;
if ($agent_evaluate_fraction_res[0]['agent_evaluate_fraction']) { if ($agent_evaluate_fraction_res[0]['agent_evaluate_fraction']) {
$agent_evaluate_fraction = round($agent_evaluate_fraction_res[0]['agent_evaluate_fraction'] / 2 / $agent_evaluate_num, 1); $agent_evaluate_fraction = floor($agent_evaluate_fraction_res[0]['agent_evaluate_fraction'] / 2 / $agent_evaluate_num);
} }
$res['agents_id'] = $v; $res['agents_id'] = $v;
......
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 to comment