修改
This commit is contained in:
@@ -448,7 +448,10 @@ namespace IRaCIS.Core.Application.Service.Inspection.DTO
|
||||
/// </summary>
|
||||
public bool? IsSign { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 批次Id
|
||||
/// </summary>
|
||||
public Guid? BatchId { get; set; }
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -132,11 +132,13 @@ namespace IRaCIS.Core.Application.Service.Inspection
|
||||
OptType = leftOptType.Id,
|
||||
VisitNum=leftsubjectVisit.VisitNum,
|
||||
IsFrontAdd=data.IsFrontAdd,
|
||||
BatchId=data.BatchId,
|
||||
OptTypeName = leftOptType.Value,
|
||||
|
||||
};
|
||||
|
||||
query = query.WhereIf(dto.SiteId != null, x => x.SiteId == dto.SiteId)
|
||||
.WhereIf(dto.BatchId != null, x => x.BatchId == dto.BatchId)
|
||||
.WhereIf(!dto.SubjectInfo.IsNullOrEmpty(), x => x.SubjectCode.Contains(dto.SubjectInfo))
|
||||
.WhereIf(dto.VisitPlanInfo != null, x => x.VisitNum == dto.VisitPlanInfo)
|
||||
.WhereIf(dto.StartTime != null, x => x.CreateTime >= dto.StartTime)
|
||||
|
||||
Reference in New Issue
Block a user