曾超新 5 years ago
parent 957cc59650
commit c73a8f9408
  1. 2
      frontend/controllers/StatisticsController.php

@ -551,7 +551,7 @@ class StatisticsController extends BaseController
if($date2_end != '') { if($date2_end != '') {
$tmp_query = $tmp_query->andWhere('print_date<="'.$date2_end.'"'); $tmp_query = $tmp_query->andWhere('print_date<="'.$date2_end.'"');
} }
// echo $tmp_query->createCommand()->rawSql."<br>"; echo $tmp_query->createCommand()->rawSql."<br>";
$items = $tmp_query->all(); $items = $tmp_query->all();
foreach($items as $item) { foreach($items as $item) {
$total[0]++; $total[0]++;

Loading…
Cancel
Save