示例#1
0
 protected function getColMap(Auction $auction)
 {
     return array('A' => $auction->getProductSn(), 'B' => $auction->getProductName(), 'C' => $auction->getProductOrgSn(), 'D' => $auction->getProductBrandName(), 'E' => $auction->getProductColorName(), 'F' => $auction->getCreateStoreName(), 'G' => $auction->getSellerName(), 'H' => $auction->getSellerMobil(), 'I' => $auction->getBuyerName(), 'J' => $auction->getBuyerMobil(), 'K' => $auction->getPrice(), 'L' => $auction->getCustomPercentage(), 'M' => $auction->getStorePercentage(), 'N' => $auction->getBsoPercentage(), 'O' => $auction->getCustomProfit(), 'P' => $this->hasCostReadAuth() ? $auction->getStoreProfit() : '權限不足', 'Q' => $this->hasCostReadAuth() ? $auction->getBsoProfit() : '權限不足', 'R' => $auction->getCreateAt()->format('Y-m-d H:i:s'), 'S' => $auction->getCreaterName(), 'T' => $auction->getSoldAtString(), 'U' => $auction->getBsserName(), 'V' => $auction->getSoldAtUpdateCount(), 'W' => $auction->getSoldUpdateCount(), 'X' => $auction->getMemo(true));
 }