@@ -543,13 +543,13 @@ |
||
543 | 543 | $pluginConfigs = PluginConfigManager::getPluginConfigAll($this['debug']); |
544 | 544 | $ormMappings = array(); |
545 | 545 | $ormMappings[] = array( |
546 | - 'type' => 'annotation', |
|
547 | - 'namespace' => 'Eccube\Entity', |
|
548 | - 'path' => array( |
|
549 | - __DIR__.'/Entity' |
|
550 | - ), |
|
551 | - 'use_simple_annotation_reader' => false, |
|
552 | - ); |
|
546 | + 'type' => 'annotation', |
|
547 | + 'namespace' => 'Eccube\Entity', |
|
548 | + 'path' => array( |
|
549 | + __DIR__.'/Entity' |
|
550 | + ), |
|
551 | + 'use_simple_annotation_reader' => false, |
|
552 | + ); |
|
553 | 553 | |
554 | 554 | // TODO namespace は暫定 |
555 | 555 | $ormMappings[] = array( |
@@ -45,10 +45,10 @@ |
||
45 | 45 | public function hasProductByName($productName) |
46 | 46 | { |
47 | 47 | $ShipmentItems = array_filter($this->getArrayCopy(), |
48 | - function ($ShipmentItem) use ($productName) { |
|
49 | - /* @var ShipmentItem $ShipmentItem */ |
|
50 | - return $ShipmentItem->getProductName() == $productName; |
|
51 | - }); |
|
48 | + function ($ShipmentItem) use ($productName) { |
|
49 | + /* @var ShipmentItem $ShipmentItem */ |
|
50 | + return $ShipmentItem->getProductName() == $productName; |
|
51 | + }); |
|
52 | 52 | return !empty($ShipmentItems); |
53 | 53 | } |
54 | 54 | // map, filter, reduce も実装したい |
@@ -56,7 +56,7 @@ |
||
56 | 56 | $multi = preg_match('/^\d+$/', $searchData['multi']) ? $searchData['multi'] : null; |
57 | 57 | $qb |
58 | 58 | ->andWhere('s.id = :multi OR s.name01 LIKE :likemulti OR s.name02 LIKE :likemulti OR ' . |
59 | - 's.kana01 LIKE :likemulti OR s.kana02 LIKE :likemulti OR s.company_name LIKE :likemulti') |
|
59 | + 's.kana01 LIKE :likemulti OR s.kana02 LIKE :likemulti OR s.company_name LIKE :likemulti') |
|
60 | 60 | ->setParameter('multi', $multi) |
61 | 61 | ->setParameter('likemulti', '%' . $searchData['multi'] . '%'); |
62 | 62 | } |