Merge branch 'feature/purchase_record' into dev
This commit is contained in:
commit
672f3fcbae
@ -871,7 +871,7 @@ class ProductRepository extends BaseRepository
|
||||
*/
|
||||
public function getList(?int $merId, array $where, int $page, int $limit)
|
||||
{
|
||||
$query = $this->dao->search($merId, $where)->with(['merCateId.category', 'storeCategory', 'brand']);
|
||||
$query = $this->dao->search($merId, $where)->with(['merCateId.category', 'storeCategory', 'brand', 'attrValue']);
|
||||
$count = $query->count();
|
||||
$data = $query->page($page, $limit)->setOption('field', [])->field($this->filed)->select();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user