From da02828c2cdf7b858fa14afeffcfc81d0a08cc47 Mon Sep 17 00:00:00 2001 From: zengchaoxin Date: Fri, 6 Dec 2019 16:41:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=B7=A5=E4=BD=9C=E9=87=8F?= =?UTF-8?q?=E7=BB=9F=E8=AE=A1=EF=BC=8C=E6=97=A0=E6=B3=95=E6=90=9C=E7=B4=A2?= =?UTF-8?q?=E7=94=A8=E6=88=B7=E5=90=8DBUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/controllers/StatisticsController.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/frontend/controllers/StatisticsController.php b/frontend/controllers/StatisticsController.php index d394593..d696dd5 100644 --- a/frontend/controllers/StatisticsController.php +++ b/frontend/controllers/StatisticsController.php @@ -56,13 +56,11 @@ class StatisticsController extends BaseController // 现在的搜索条件 $userSql = ''; if($username != '') { - $userSql = ' username like "'.$username.'" and '; + $userSql = ' username like "'.$username.'" '; } //$userSql .= 'is_locked=0 and is_login=1'; $user_items = $this->my->getChildren($userSql); - if($this->my->username == '6002') - $user_items = $this->my->getChildren($userSql,1); $user_rows = array(); $sum_total = array(); $sum_total[0] = '';