Browse Source

查询时添加状态参数

develop-FileUpload-test
胡超1 2 years ago
parent
commit
9430e19021
  1. 1
      24Hour/Controllers/Common/LawyerArchivesController.cs

1
24Hour/Controllers/Common/LawyerArchivesController.cs

@ -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)

Loading…
Cancel
Save