|
|
|
@ -75,7 +75,7 @@ namespace EntrustSettle.Api.Controllers
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
PageModel<OrderDto> result = await orderService.AsQueryable()
|
|
|
|
|
.WhereIF(input.QueryType != 2, x => x.CompanyId == App.User.CompanyId)
|
|
|
|
|
.WhereIF(App.User.ID != "d85fd590-d9f6-4410-93a1-f6fac77b606e" && input.QueryType != 2, x => x.CompanyId == App.User.CompanyId)
|
|
|
|
|
.WhereIF(!string.IsNullOrWhiteSpace(input.Mblno), x => x.Mblno.Contains(input.Mblno))
|
|
|
|
|
.WhereIF(!string.IsNullOrWhiteSpace(input.CompanyName), x => x.CompanyName.Contains(input.CompanyName))
|
|
|
|
|
.WhereIF(!string.IsNullOrWhiteSpace(input.Remark), x => x.Remark.Contains(input.Remark))
|
|
|
|
|