|
@@ -165,7 +165,16 @@ namespace Hotline.Api.Controllers
|
|
|
/// <returns></returns>
|
|
|
[HttpGet("tel-operations-fixed")]
|
|
|
public async Task<IReadOnlyList<TelOperation>> QueryTelOperationsAsync([FromQuery] QueryTelOperationsFixedDto dto) =>
|
|
|
- await _callApplication.QueryTelOperationsAsync(dto).ToFixedListAsync(dto, HttpContext.RequestAborted);
|
|
|
+ await _callApplication.QueryTelOperationsAsync(dto).ToPageListWithoutTotalAsync(dto, HttpContext.RequestAborted);
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 查询坐席操作记录(固定数据量)
|
|
|
+ /// </summary>
|
|
|
+ /// <param name="dto"></param>
|
|
|
+ /// <returns></returns>
|
|
|
+ [HttpGet("tel-operations-fixed/count")]
|
|
|
+ public async Task<int> QueryTelOperationsCountAsync([FromQuery] QueryTelOperationsFixedDto dto) =>
|
|
|
+ await _callApplication.QueryTelOperationsAsync(dto).CountAsync(HttpContext.RequestAborted);
|
|
|
|
|
|
/// <summary>
|
|
|
/// 查询坐席操作记录基础数据
|