|
|
|
@ -403,6 +403,7 @@ namespace _24Hour.Controllers.Common
|
|
|
|
|
.WhereIF(string.IsNullOrEmpty(input.partyCardId) == false, x => x.partycardId == input.partyCardId) |
|
|
|
|
.WhereIF(string.IsNullOrEmpty(input.caseName) == false, x => x.casename.Contains(input.caseName)) |
|
|
|
|
.WhereIF(string.IsNullOrEmpty(input.bmsah) == false, x => x.bmsah.Contains(input.bmsah)) |
|
|
|
|
.WhereIF(input.state !=null, x => x.status==input.state) |
|
|
|
|
.Where(x => x.createTime.Value.Date >= starttime.Date && x.createTime.Value.Date <= endtime.Date) |
|
|
|
|
.Where(x => x.unitcode == input.unitCode) |
|
|
|
|
.WhereIF(input.Isdelete != null, x => x.IsDeleted == input.Isdelete) |
|
|
|
|