Browse Source

中心待办件查询

田爽 10 months ago
parent
commit
d54f9bb569
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Hotline.Api/Controllers/OrderController.cs

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

@@ -3216,7 +3216,7 @@ public class OrderController : BaseController
             //  )))
             //.Where(d => d.Workflow.Steps.Any(s => s.Status < EWorkflowStepStatus.Handled && s.HandlerOrgId == OrgSeedData.CenterId))
             .LeftJoin<WorkflowStep>((d, step) => d.Id == step.ExternalId)
-            .Where((d,step)=>step.HandlerOrgId == OrgSeedData.CenterId)
+            .Where((d,step)=> (step.Id  == null || step.HandlerOrgId == OrgSeedData.CenterId))
             .Where(d => d.Source < ESource.MLSQ || d.Source > ESource.WZSC)
             .Where(d => d.Status != EOrderStatus.BackToProvince && d.Status < EOrderStatus.Filed)
             .WhereIF(!string.IsNullOrEmpty(dto.No), d => d.No!.Contains(dto.No!))