曾超新 5 years ago
parent c40851d49e
commit a4be32855c
  1. 5
      common/models/UserT.php

@ -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();
}
public function getPhoneStatus()
{
return $this->hasOne(NetworkPhoneAssignT::className(),['user_id'=>'id']);
}
}

Loading…
Cancel
Save