diff --git a/Myshipping.Application/Service/TrackingSystem/ServiceWorkFlowManageService.cs b/Myshipping.Application/Service/TrackingSystem/ServiceWorkFlowManageService.cs index a9bb597c..2fd192fc 100644 --- a/Myshipping.Application/Service/TrackingSystem/ServiceWorkFlowManageService.cs +++ b/Myshipping.Application/Service/TrackingSystem/ServiceWorkFlowManageService.cs @@ -1624,7 +1624,7 @@ namespace Myshipping.Application => b.Detail.STATUS_SKU_CODE.Equals(st.StatusCode, StringComparison.OrdinalIgnoreCase)); var activitiesRunInfo = _serviceWorkFlowRunActivitiesInfoRepository - .AsQueryable().First(b => b.PK_ID == detail.Detail.PK_ID); + .AsQueryable().Filter(null, true).First(b => b.PK_ID == detail.Detail.PK_ID); _logger.LogInformation("批次={no} 取消状态前记录 出问题的地方 info={info} msg={msg}", batchNo,JSON.Serialize(info), JSON.Serialize(activitiesRunInfo));