|
@@ -1264,6 +1264,16 @@ public class OrderApplication : IOrderApplication, IScopeDependency
|
|
|
await _orderRepository.UpdateAsync(order, cancellationToken);
|
|
|
}
|
|
|
|
|
|
+ //更新会签状态
|
|
|
+ if (dto.Workflow.FlowDirection == EFlowDirection.CenterToOrg)
|
|
|
+ {
|
|
|
+ order.CounterSignType = dto.Workflow.NextHandlers.Count > 1 ? ECounterSignType.Center : null;
|
|
|
+ }
|
|
|
+ else if (dto.Workflow.FlowDirection == EFlowDirection.OrgToOrg)
|
|
|
+ {
|
|
|
+ order.CounterSignType = dto.Workflow.NextHandlers.Count > 1 ? ECounterSignType.Department : null;
|
|
|
+ }
|
|
|
+
|
|
|
|
|
|
if (dto.Data.LeaderSMSKey != null)
|
|
|
{
|