Commit f3b9996b by 杨树贤

导出供应商排序问题

parent 155c5b37
Showing with 1 additions and 1 deletions
...@@ -1024,7 +1024,7 @@ class DataService ...@@ -1024,7 +1024,7 @@ class DataService
} }
$purchaseAmountMap[$channelUid] = $totalAmount; $purchaseAmountMap[$channelUid] = $totalAmount;
} }
asort($purchaseAmountMap); arsort($purchaseAmountMap);
dump($purchaseAmountMap); dump($purchaseAmountMap);
$maxAmountPurchaseAdminId = array_keys($purchaseAmountMap)[0]; $maxAmountPurchaseAdminId = array_keys($purchaseAmountMap)[0];
dump($maxAmountPurchaseAdminId); dump($maxAmountPurchaseAdminId);
......
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 sign in to comment