|
@@ -15,7 +15,7 @@ class stat_refill
|
|
|
$items = $mod_merchant->getMerchantList(['mchid' => ['gt',0]]);
|
|
|
foreach ($items as $item) {
|
|
|
$mchid = intval($item['mchid']);
|
|
|
- $this->mMerchantNames[$mchid] = $item['name'];
|
|
|
+ $this->mMerchantNames[$mchid] = !empty($item['company_name']) ? $item['company_name'] : $item['name'];
|
|
|
}
|
|
|
|
|
|
$items = Model('')->table('refill_provider,store')
|