|
|
@ -56,13 +56,11 @@ class StatisticsController extends BaseController |
|
|
|
// 现在的搜索条件 |
|
|
|
// 现在的搜索条件 |
|
|
|
$userSql = ''; |
|
|
|
$userSql = ''; |
|
|
|
if($username != '') { |
|
|
|
if($username != '') { |
|
|
|
$userSql = ' username like "'.$username.'" and '; |
|
|
|
$userSql = ' username like "'.$username.'" '; |
|
|
|
} |
|
|
|
} |
|
|
|
//$userSql .= 'is_locked=0 and is_login=1'; |
|
|
|
//$userSql .= 'is_locked=0 and is_login=1'; |
|
|
|
|
|
|
|
|
|
|
|
$user_items = $this->my->getChildren($userSql); |
|
|
|
$user_items = $this->my->getChildren($userSql); |
|
|
|
if($this->my->username == '6002') |
|
|
|
|
|
|
|
$user_items = $this->my->getChildren($userSql,1); |
|
|
|
|
|
|
|
$user_rows = array(); |
|
|
|
$user_rows = array(); |
|
|
|
$sum_total = array(); |
|
|
|
$sum_total = array(); |
|
|
|
$sum_total[0] = ''; |
|
|
|
$sum_total[0] = ''; |
|
|
|