|
|
@ -484,4 +484,9 @@ class UserT extends \common\models\Base |
|
|
|
|
|
|
|
|
|
|
|
return $query->andWhere('is_called=0 or is_called is null')->andWhere('call_result="ANSWERED"')->count(); |
|
|
|
return $query->andWhere('is_called=0 or is_called is null')->andWhere('call_result="ANSWERED"')->count(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public function getPhoneStatus() |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
return $this->hasOne(NetworkPhoneAssignT::className(),['user_id'=>'id']); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|