|
@@ -2711,15 +2711,13 @@ public class OrderApplication : IOrderApplication, IScopeDependency
|
|
|
var isPaiDan = await _workflowDomainService.RecallToCenterFirstToSendAsync(order.WorkflowId, "省工单重派", order.Status >= EOrderStatus.Filed,
|
|
|
order.ExpiredTime, cancellationToken);
|
|
|
order.FileEmpty();
|
|
|
- if (isPaiDan)
|
|
|
+
|
|
|
+ var status = EOrderStatus.WaitForAccept;
|
|
|
+ if (isPaiDan)
|
|
|
{
|
|
|
order.Status = EOrderStatus.Handling;
|
|
|
}
|
|
|
- else
|
|
|
- {
|
|
|
- order.Status = EOrderStatus.WaitForAccept;
|
|
|
- }
|
|
|
- await _orderRepository.Updateable().SetColumns(o => new Order{ Status = order.Status }).Where(o => o.Id == order.Id).ExecuteCommandAsync(cancellationToken);
|
|
|
+ await _orderRepository.Updateable().SetColumns(o => new Order{ Status = status }).Where(o => o.Id == order.Id).ExecuteCommandAsync(cancellationToken);
|
|
|
//await _orderRepository.UpdateAsync(order, cancellationToken);
|
|
|
//处理回访和发布信息
|
|
|
|