Ver Fonte

biorder

Dun.Jason há 11 meses atrás
pai
commit
864a5be628
1 ficheiros alterados com 0 adições e 1 exclusões
  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)