|
|
@ -103,7 +103,7 @@ class PhoneCenterController extends BaseController |
|
|
|
if($username != ''){ |
|
|
|
if($username != ''){ |
|
|
|
$query->andWhere('user_t.username="'.$username.'"'); |
|
|
|
$query->andWhere('user_t.username="'.$username.'"'); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
echo $query->createCommand()->rawSql; |
|
|
|
$total = $query->count(); |
|
|
|
$total = $query->count(); |
|
|
|
|
|
|
|
|
|
|
|
$query->offset($offset)->limit($limit); |
|
|
|
$query->offset($offset)->limit($limit); |
|
|
|