先看代码:$article_list  = $this->your_model

              ->where($ids)

              ->where($map)

              ->order(['id' => 'ASC'])

              ->paginate(20, false, ['page' => $page]);
        echo $this->company_model->getLastSql();

好吧 ,就是再加个where条件。哈哈 ···

相关文章:

  • 2022-02-03
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-28
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-06-04
  • 2022-12-23
  • 2021-04-02
  • 2022-01-02
相关资源
相似解决方案