|
@@ -1165,6 +1165,7 @@ class ProductMysqldb extends Service implements ProductInterface
|
|
|
|
|
|
$product_attrs = $this->_productModel->find()
|
|
$product_attrs = $this->_productModel->find()
|
|
->select('attr_group_info')
|
|
->select('attr_group_info')
|
|
|
|
+ ->groupBy('spu')
|
|
->where($where)->asArray()
|
|
->where($where)->asArray()
|
|
->all();
|
|
->all();
|
|
|
|
|