Преглед на файлове

Merge branch 'master' of http://git.12345lm.cn/Fengwo/hotline

TANG JIANG преди 1 година
родител
ревизия
96e75a3643
променени са 2 файла, в които са добавени 1 реда и са изтрити 11 реда
  1. 0 10
      src/Hotline.Api/Controllers/IPPbxController.cs
  2. 1 1
      src/Hotline.Api/Controllers/OrderController.cs

+ 0 - 10
src/Hotline.Api/Controllers/IPPbxController.cs

@@ -325,16 +325,6 @@ namespace Hotline.Api.Controllers
 
 
 
-        #endregion
-
-        #region Bi
-
-        [HttpGet("bi/calls")]
-        public async Task BiQueryCallsAsync()
-        {
-            throw new NotImplementedException();
-        }
-
         #endregion
 
         #endregion

+ 1 - 1
src/Hotline.Api/Controllers/OrderController.cs

@@ -1976,7 +1976,7 @@ public class OrderController : BaseController
         {
             if (dto.CurrentStepBusinessType is not EBusinessType.Send ||
                 step.BusinessType is not EBusinessType.Department) continue;
-            var org = await _organizeRepository.GetAsync(d => d.Id == order.AreaCode, HttpContext.RequestAborted);
+            var org = await _organizeRepository.GetAsync(d => d.AreaCode == order.AreaCode, HttpContext.RequestAborted);
             if (org is null) continue;
             step.RecommendOrgId = org.Id;
             step.RecommendOrgName = org.Name;