|
|
@ -108,7 +108,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; |
|
|
|
echo $query->createCommand()->rawSql; |
|
|
|
$total = $query->count(); |
|
|
|
$total = $query->count(); |
|
|
|
|
|
|
|
|
|
|
|
$query->offset($offset)->limit($limit); |
|
|
|
$query->offset($offset)->limit($limit); |
|
|
|