@ -551,7 +551,7 @@ class StatisticsController extends BaseController
if($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();
foreach($items as $item) {
$total[0]++;