|
@@ -1572,7 +1572,7 @@ public class OrderApplication : IOrderApplication, IScopeDependency
|
|
|
await _orderVisitRepository.Updateable()
|
|
|
.Where(m => m.Id == item.Id)
|
|
|
.SetColumns(m => m.VisitState == EVisitState.SMSVisiting)
|
|
|
- .SetColumns(m => m.IsPutThrough == true)
|
|
|
+ //.SetColumns(m => m.IsPutThrough == true)
|
|
|
.SetColumns(m => m.EmployeeId == _sessionContext.RequiredUserId)
|
|
|
.ExecuteCommandAsync(cancellationToken);
|
|
|
|
|
@@ -3766,7 +3766,7 @@ public class OrderApplication : IOrderApplication, IScopeDependency
|
|
|
.WhereIF(dto.VisitStateQuery == EVisitStateQuery.SMSUnsatisfied, d => d.VisitState == EVisitState.SMSUnsatisfied)
|
|
|
.WhereIF(dto.VisitStateQuery == EVisitStateQuery.SMSVisiting, d => d.VisitState == EVisitState.SMSVisiting)
|
|
|
.WhereIF(dto.VisitStateQuery == EVisitStateQuery.NoPutThrough,
|
|
|
- d => d.IsPutThrough == false && d.VisitState != EVisitState.Visited && d.VisitState != EVisitState.None)
|
|
|
+ d => d.IsPutThrough == false && d.VisitState != EVisitState.Visited && d.VisitState != EVisitState.None && d.VisitState != EVisitState.SMSVisiting)
|
|
|
.WhereIF(dto.VisitStateQuery == EVisitStateQuery.ChipVoiceVisiting, d => d.VisitState == EVisitState.AiVisiting) //任务 162:回访状态快捷查询条件
|
|
|
.WhereIF(!string.IsNullOrEmpty(dto.Keyword), d => d.Order.Title.Contains(dto.Keyword!))
|
|
|
.WhereIF(!string.IsNullOrEmpty(dto.No), d => d.No == dto.No)
|