|
@@ -7368,13 +7368,8 @@ public class OrderController : BaseController
|
|
|
[HttpGet("order/about_expire/list_count")]
|
|
|
public async Task<int> AboutListCountAsnc([FromQuery] AboutToExpireListDto dto)
|
|
|
{
|
|
|
- var version = _systemSettingCacheManager.GetAboutToExpireVersion;
|
|
|
- if (version == 1)
|
|
|
- {
|
|
|
- return await _orderApplication.GetAboutToExpireAsyncV1(dto).CountAsync(HttpContext.RequestAborted);
|
|
|
- }
|
|
|
- return await _orderApplication.GetAboutToExpireAsync(dto).CountAsync(HttpContext.RequestAborted);
|
|
|
- }
|
|
|
+ return await _orderApplication.GetAboutToExpireAsync(dto).CountAsync(HttpContext.RequestAborted);
|
|
|
+ }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 工单即将超期列表(优化测试)
|