稽查查询
parent
281d10f3b4
commit
c04dfb4b77
|
@ -191,7 +191,7 @@ namespace IRaCIS.Core.Application.Service.Inspection
|
|||
.WhereIf(dto.StartTime != null, x => x.CreateTime >= dto.StartTime)
|
||||
.WhereIf(dto.EndTime != null, x => x.CreateTime <= dto.EndTime)
|
||||
.WhereIf(dto.ModuleType != null, x => x.ModuleTypeId == dto.ModuleType)
|
||||
.WhereIf(!dto.Description.IsNullOrEmpty(), x => x.Description == dto.Description)
|
||||
.WhereIf(!dto.Description.IsNullOrEmpty(), x => x.Description.Contains(dto.Description)|| x.DescriptionCN.Contains(dto.Description))
|
||||
.WhereIf(!dto.OpByUserName.IsNullOrEmpty(), x => x.CreateUserName.Contains(dto.OpByUserName))
|
||||
//.WhereIf(!dto.SubjectInfo.IsNullOrEmpty(), x => x.SubjectCode.Contains(dto.SubjectInfo))
|
||||
.WhereIf(dto.IsSign != null, x => x.IsSign == dto.IsSign);
|
||||
|
|
Loading…
Reference in New Issue