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']?'只维护':'自主开发及维护'; }