fix 轨迹可删过滤

This commit is contained in:
李鹏军 2024-03-06 14:51:41 +08:00
parent e2a34ede15
commit 8922d98ba4

View File

@ -85,7 +85,7 @@ public class ProvideQueries : ISugarRepository, IProvideQueries,
.LeftJoin<TrackTemplateContentEntity>((x, a) => x.TrackTemplateId == a.TrackTemplateId && a.IsCanDelete)
.LeftJoin<TrackContentEntity>((x, a, b) => a.TrackContentId == b.Id)
.Where((x, a, b) => x.OrderId == orderId
&& trackCodes.Contains(b.Code))
&& trackCodes.Contains(b.Code) && a.IsCanDelete)
.Select((x, a, b) => b.Code)
.ToListAsync();
}