From 061d7373fbf0ba3e64bbe922f7eff265dbc47b5f Mon Sep 17 00:00:00 2001 From: zhengyongxing Date: Wed, 19 Feb 2020 15:03:20 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B8=82=E5=9C=BA=E7=BB=93=E7=AE=97=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E5=86=85=E5=A4=96=E5=9B=A2=E6=96=B0=E5=A2=9E=E5=86=85?= =?UTF-8?q?=E5=9B=A2=E5=88=86=E5=8F=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Admin/Controller/QueryController.class.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Application/Admin/Controller/QueryController.class.php b/Application/Admin/Controller/QueryController.class.php index b24605372..28112d1a6 100644 --- a/Application/Admin/Controller/QueryController.class.php +++ b/Application/Admin/Controller/QueryController.class.php @@ -1653,7 +1653,12 @@ class QueryController extends ThinkController $data[$key]['highquality'] = number_format(($value['pay_amount'] - $initNum - $data[$key]['upstream']-$data[$key]['downstream']) * (1-0.0672),2,'.',''); - $data[$key]['company_belong'] = $data[$key]['company_belong']?'外团':'内团'; + if (!$data[$key]['company_belong']) { + $data[$key]['company_belong'] = getCompanyBlong(0); + } else { + $data[$key]['company_belong'] = getCompanyBlong($data[$key]['company_belong']); + } + $data[$key]['company_relation'] = $data[$key]['company_relation']?'只维护':'自主开发及维护'; }