From c73a8f94087b3db6c90fdf959d0d82d2bde7939d Mon Sep 17 00:00:00 2001 From: zengchaoxin Date: Tue, 19 Nov 2019 17:22:02 +0800 Subject: [PATCH] test1 --- frontend/controllers/StatisticsController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/controllers/StatisticsController.php b/frontend/controllers/StatisticsController.php index 73eb836..4c0cc65 100644 --- a/frontend/controllers/StatisticsController.php +++ b/frontend/controllers/StatisticsController.php @@ -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."
"; + echo $tmp_query->createCommand()->rawSql."
"; $items = $tmp_query->all(); foreach($items as $item) { $total[0]++;