Dun.Jason 11 bulan lalu
induk
melakukan
864a5be628
1 mengubah file dengan 0 tambahan dan 1 penghapusan
  1. 0 1
      src/Hotline.Api/Controllers/Bi/BiOrderController.cs

+ 0 - 1
src/Hotline.Api/Controllers/Bi/BiOrderController.cs

@@ -1089,7 +1089,6 @@ namespace Hotline.Api.Controllers.Bi
                 .WhereIF(IsCenter==true && dto.IsOnlyMy==true,x=>x.VisitOrgCode == dto.OrgCode)
                 .WhereIF(IsCenter==true && dto.IsOnlyMy==null,x=>x.VisitOrgCode.StartsWith(dto.OrgCode))
                 .WhereIF(IsCenter==false,x=>x.VisitOrgCode == dto.OrgCode)
-                .Where(x=>x.VisitOrgCode == dto.OrgCode)
                 .WhereIF(dto.TypeId == 1, x => SqlFunc.JsonField(x.OrgProcessingResults, "Key") == dto.DateValue)
                 .WhereIF(dto.TypeId == 2, x => SqlFunc.JsonField(x.OrgHandledAttitude, "Key") == dto.DateValue)
                 .WhereIF(!string.IsNullOrEmpty(dto.LineNum), x => x.OrderVisit.Order.CallRecord.Gateway == dto.LineNum)