WIN-2308041133\Administrator 5 months ago
parent
commit
51935b7b40
1 changed files with 3 additions and 3 deletions
  1. 3 3
      app/common/repositories/user/AwardIntegralPriceRepository.php

+ 3 - 3
app/common/repositories/user/AwardIntegralPriceRepository.php

@@ -116,9 +116,9 @@ class AwardIntegralPriceRepository extends BaseRepository
 
         // 查询满足条件的数据列表,带有 'label' 关联数据,按 'label_rule_id' 倒序排列
         // 分页查询,返回当前页码的 $limit 条数据,并将结果转换为数组形式
-//        $list = $query->page($page, $limit)->select()->toArray();
-        $list = $this->dao->search($where)->select()->toArray();
-        var_dump($this->dao->getLastSql());die();
+        $list = $query->page($page, $limit)->select()->toArray();
+//        $list = $this->dao->search($where)->select()->toArray();
+        var_dump($query->getLastSql());die();
         // 返回包含数据总数和数据列表的数组
         return compact('count', 'list');
     }