A库筛选保险日期调试

webUi^2
zhaocheng 5 years ago
parent 0ebba637ec
commit 31e044f955
  1. 2
      frontend/controllers/DatabaseController.php

@ -260,11 +260,13 @@ class DatabaseController extends BaseController
$total = $query->count();
$query->orderBy('id desc');
$sql = $query->createCommand()->rawSql;
$query = $query->offset($offset)->limit($limit);
$items = $query->all();
$data = [];
$data['total'] = $total;
$data['sql'] = $sql;
$data['rows'] = [];
foreach($items as $item) {
$row = $item->toArray();

Loading…
Cancel
Save