|
@@ -336,7 +336,8 @@ namespace Hotline.Application.OrderApp
|
|
|
.WhereIF(!string.IsNullOrEmpty(dto.Keyword), x => x.Order.Title.Contains(dto.Keyword!) || x.Order.No.Contains(dto.Keyword!))
|
|
|
.WhereIF(!string.IsNullOrEmpty(dto.No), x => x.Order.No.Contains(dto.No!))
|
|
|
.WhereIF(!string.IsNullOrEmpty(dto.Channel), x => x.Order.SourceChannelCode == dto.Channel) //来源渠道
|
|
|
- .WhereIF(dto.SendBack.HasValue, x => x.SendBackNum == dto.SendBack!) //重提办理
|
|
|
+ .WhereIF(dto.SendBack.HasValue && dto.SendBack == 1, x => x.SendBackNum == 1) //重提办理
|
|
|
+ .WhereIF(dto.SendBack.HasValue && dto.SendBack != 1, x => x.SendBackNum != 1) //重提办理
|
|
|
.WhereIF(!string.IsNullOrEmpty(dto.Title), x => x.Order.Title.Contains(dto.Title!)) //工单编号
|
|
|
.WhereIF(!string.IsNullOrEmpty(dto.ApplyName), x => x.CreatorName.Contains(dto.ApplyName)) //申请人
|
|
|
.WhereIF(!string.IsNullOrEmpty(dto.ApplyOrgName), x => x.ApplyOrgName.Contains(dto.ApplyOrgName)) //申请部门
|