|
@@ -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!))
|