This commit is contained in:
he
2025-06-10 09:13:48 +08:00
parent 5a83bf9221
commit 04aa2c79f6
3 changed files with 7 additions and 7 deletions
@@ -209,7 +209,7 @@ namespace IRaCIS.Core.Application.Service.Inspection
//.Where(x => (x.TrialId == dto.TrialId) || (x.TrialId == null && x.CreateTime >= trialData.CreateTime && x.CreateTime <= trialData.TrialFinishTime))
.Where(x => x.TrialId == inQuery.TrialId)
.Where(x => x.IsShow)
.WhereIf(inQuery.FrontAuditConfigId != null, x => x.FrontAuditConfigId == inQuery.FrontAuditConfigId)
#region
// .WhereIf(dto.BatchId != null && dto.ObjectRelationParentId == null && dto.GeneralId == null, x => x.BatchId == dto.BatchId)
// .WhereIf(dto.BatchId != null && dto.GeneralId != null && dto.ObjectRelationParentId == null, x => x.BatchId == dto.BatchId ||