|
@@ -205,6 +205,7 @@ namespace Hotline.Api.Controllers
|
|
|
WorkUserId = (work != null) ? work.UserId : "",
|
|
|
WorkUserName = (work != null) ? work.UserName : "",
|
|
|
};
|
|
|
+ result.OnStateCount = await _trCallRecordRepository.Queryable().Where(x => x.CDPN == telno && x.CallDirection == ECallDirection.In && x.OnState == EOnState.On && x.CreatedTime.Date == DateTime.Now.Date).CountAsync();
|
|
|
return result;
|
|
|
}
|
|
|
return null;
|