diff --git a/Myshipping.Application/Service/TrackingSystem/ServiceWorkFlowManageService.cs b/Myshipping.Application/Service/TrackingSystem/ServiceWorkFlowManageService.cs index fd58a2f7..de116f5b 100644 --- a/Myshipping.Application/Service/TrackingSystem/ServiceWorkFlowManageService.cs +++ b/Myshipping.Application/Service/TrackingSystem/ServiceWorkFlowManageService.cs @@ -135,7 +135,7 @@ namespace Myshipping.Application //检索状态对应所有的服务流程,如果已经提取到的状态数量与推送的不一致,提示错误不能入库s var skuList = _statusSkuBaseInfoRepository.AsQueryable().Filter(null, true) .LeftJoin((sts, act) => sts.PK_ID == act.STATUS_SKU_ID) - .LeftJoin((sts,act,rela)=> + .LeftJoin((sts,act,rela)=> act.PK_ID == rela.SERVICE_ACTIVITIES_ID) .LeftJoin((sts, act, rela,wf)=> rela.SERVICE_WORKFLOW_ID == wf.PK_ID && rela.WF_VERSION == wf.RELEASE_VERSION) @@ -192,7 +192,7 @@ namespace Myshipping.Application return new { Exists = true, WF = l }; } - return new { Exists = true, WF = l }; + return new { Exists = false, WF = l }; }).ToList();