|
|
|
@ -94,6 +94,7 @@ namespace _24Hour.Controllers.Common |
|
|
|
.WhereIF(Lawyerdata?.objectstr != null, q => q.objectstr.Contains(Lawyerdata.objectstr)) |
|
|
|
.WhereIF(Lawyerdata?.objectstr != null, q => q.objectstr.Contains(Lawyerdata.objectstr)) |
|
|
|
.WhereIF(Lawyerdata?.unitId != null, q => q.unitCode.Contains(Lawyerdata.unitId)) |
|
|
|
.WhereIF(Lawyerdata?.unitId != null, q => q.unitCode.Contains(Lawyerdata.unitId)) |
|
|
|
.WhereIF(Lawyerdata?.state != null, q => q.state == Lawyerdata.state) |
|
|
|
.WhereIF(Lawyerdata?.state != null, q => q.state == Lawyerdata.state) |
|
|
|
|
|
|
|
.WhereIF(Lawyerdata?.IsAssigned != null, q => q.IsAssigned == Lawyerdata.IsAssigned) |
|
|
|
.WhereIF(Lawyerdata?.StartTime != null && Lawyerdata.EndTime != null, q => q.receptiontime >= Lawyerdata.StartTime && q.receptiontime < Lawyerdata.EndTime.Value.AddDays(1)) |
|
|
|
.WhereIF(Lawyerdata?.StartTime != null && Lawyerdata.EndTime != null, q => q.receptiontime >= Lawyerdata.StartTime && q.receptiontime < Lawyerdata.EndTime.Value.AddDays(1)) |
|
|
|
|
|
|
|
|
|
|
|
.WhereIF(string.IsNullOrEmpty(Lawyerdata.Id) == false, q => q.Id == Lawyerdata.Id) |
|
|
|
.WhereIF(string.IsNullOrEmpty(Lawyerdata.Id) == false, q => q.Id == Lawyerdata.Id) |
|
|
|
|