WIN-2308041133\Administrator 4 months ago
parent
commit
c4df1e7cad
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/common/repositories/store/product/ProductRepository.php

+ 1 - 0
app/common/repositories/store/product/ProductRepository.php

@@ -1601,6 +1601,7 @@ class ProductRepository extends BaseRepository
             );
         $query = $this->dao->search($merId, $where)->with(['merchant', 'issetCoupon']);
         $count = $query->count();
+        var_dump($query->getLastSql());die();
         $list = $query->page($page, $limit)->setOption('field', [])->field($this->admin_filed)->select();
         $append[] = 'max_extension';
         if (get_extension_info($userInfo)['isPromoter']) $list->append($append);